Tenants

This document uses the REST API. For more details, see the Authentication for API page.

Get a list of all accessible Tenants

get

Get a list of all Tenants which the calling user is a member of

Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
starting_afterstringOptional

Return the page of results immediately after this cursor

Example: v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptional

Return the page of results immediately before this cursor

Example: v1.eyJpZCI6IjExMDAifQo=
limitinteger · int32 · min: 10 · max: 100Optional

Number of results to return per page

Default: 10Example: 10
Responses
200

Returns a list of tenants.

application/vnd.api+json
get
/tenants

Update tenant

patch

Update the details of a tenant

Required permissions

  • Edit Tenant Details (tenant.edit)
Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
tenant_idstring · uuidRequired

Unique identifier for tenant

Example: b667f176-df52-4b0a-9954-117af6b05ab7
Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Body
Responses
200

Instance of tenant is updated

application/vnd.api+json
patch
/tenants/{tenant_id}

Get a single Tenant by ID

get

Get the full details of a Tenant.

Required permissions

  • View Tenant Details (tenant.read)
Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
tenant_idstring · uuidRequired

Unique identifier for tenant

Example: b667f176-df52-4b0a-9954-117af6b05ab7
Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200

Returns an instance of a tenant.

application/vnd.api+json
get
/tenants/{tenant_id}

Get all memberships of the tenant (Early Access)

get

Returns all memberships of the tenant

Required permissions

  • View Tenant Memberships (tenant.membership.read)
Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
tenant_idstring · uuidRequired

Unique identifier for a tenant.

Example: 00000000-0000-0000-0000-000000000000
Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
starting_afterstringOptional

Return the page of results immediately after this cursor

Example: v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptional

Return the page of results immediately before this cursor

Example: v1.eyJpZCI6IjExMDAifQo=
limitinteger · int32 · min: 10 · max: 100Optional

Number of results to return per page

Default: 10Example: 10
sort_bystring · enumOptional

Which column to sort by.

Possible values:
sort_orderstring · enumOptional

Order in which results are returned.

Default: ASCExample: ASCPossible values:
emailstringOptional

Filter the response by Users that match the provided email

user_idstring · uuidOptional

Unique identifier for a user.

Example: 00000000-0000-0000-0000-000000000000
namestringOptional

Filter the response by Users that match the provided name

usernamestringOptional

Filter the response by Users that match the provided username

connection_typestringOptional

Filter the response by Users that match the provided connection type

role_namestringOptional

Filter the response for results only with the specified role.

Responses
200

List of tenant memberships is returned

application/vnd.api+json
get
/tenants/{tenant_id}/memberships

Update tenant membership (Early Access)

patch

Update the tenant membership with the new role

Required permissions

  • View Tenant Details (tenant.read)

  • View Tenant Memberships (tenant.membership.read)

  • Edit Tenant Memberships (tenant.membership.edit)

Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
tenant_idstring · uuidRequired

Unique identifier for a tenant.

Example: 00000000-0000-0000-0000-000000000000
membership_idstring · uuidRequired

Unique identifier for a tenant membership.

Example: 00000000-0000-0000-0000-000000000000
Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Body
Responses
patch
/tenants/{tenant_id}/memberships/{membership_id}

No content

Delete an individual tenant membership for a single user. (Early Access)

delete

Delete an individual tenant membership for a single user.

Required permissions

  • View Tenant Memberships (tenant.membership.read)

  • Delete Tenant Memberships (tenant.membership.delete)

Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
membership_idstring · uuidRequired

Unique identifier for a tenant membership.

Example: 00000000-0000-0000-0000-000000000000
tenant_idstring · uuidRequired

Unique identifier for a tenant.

Example: 00000000-0000-0000-0000-000000000000
Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
delete
/tenants/{tenant_id}/memberships/{membership_id}

No content

Last updated

Was this helpful?