Create a new organization
Creates a new organization with the provided details.
Authorizations:
bearerAuth
Request Body schema: application/jsonrequired
display_name required | string The human readable name of the organization. |
Responses
Request samples
- Payload
Content type
application/json
{- "display_name": "string"
}
Response samples
- 201
- 400
- 401
- 500
Content type
application/json
{- "id": "string",
- "name": "string",
- "display_name": "string"
}
Update a member's role
Updates the role of a member in the current organization.
Authorizations:
bearerAuth
path Parameters
id required | string The unique identifier of the member to update. |
header Parameters
X-ORG-ID | string |
Request Body schema: application/jsonrequired
role | string The new role to assign to the member (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "role": "string"
}
Response samples
- 400
- 401
- 404
- 500
Content type
application/json
{- "message": "string"
}
Delete a member
Deletes a member from the current organization by their unique identifier.
Authorizations:
bearerAuth
path Parameters
id required | string The unique identifier of the member to delete. |
header Parameters
X-ORG-ID | string |
Responses
Response samples
- 401
- 404
- 500
Content type
application/json
{- "message": "string"
}
Invite a user to an organization
Sends an invitation to a user to join the current organization.
Authorizations:
bearerAuth
header Parameters
X-ORG-ID | string |
Request Body schema: application/jsonrequired
email required | string The email address of the user to invite. |
role | string The role to assign to the user (e.g., admin, member, viewer). |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "string",
- "role": "string"
}
Response samples
- 400
- 401
- 500
Content type
application/json
{- "message": "string"
}
Query usage data
Query usage data aggregated by project and resource.
Authorizations:
bearerAuth
query Parameters
region required | string Region to query usage from. |
start_time required | string <date-time> Start time in RFC 3339 format. |
end_time required | string <date-time> End time in RFC 3339 format. |
header Parameters
X-ORG-ID | string Unique identifier for the organization. |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
Content type
application/json
[- {
- "project_id": "string",
- "resource": "h100-hgx-80gb",
- "value": 1440
}
]