Tenant

Manage tenant settings.

Get a list of tenants.

get

Retrieve a list of tenants and their details.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
deletedbooleanOptional

Include soft-deleted tenants in the response when true.

Default: false
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/tenants

Create tenant

post
Authorizations
AuthorizationstringRequired

Bearer authentication

Body
namestring · min: 2 · max: 255Required

The name of the tenant.

Example: namePattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$
emailstring · min: 5 · max: 254Required

The email of the tenant's admin user.

Example: [email protected]Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
passwordstring · min: 8 · max: 255Optional

The password for the tenant's admin user. Must contain at least 1 special character, 1 uppercase letter, 1 lowercase letter, 1 digit, and be at least 8 characters long.

contractTypestring · enumOptionalPossible values:
rolestring · enum · nullableOptional

The role assigned to the tenant's admin user. Possible value: System administrator.

Possible values:
Responses
post
/api/v1/tenants

Get tenant

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
tenantIdinteger · int32Required

The id of the tenant to retrieve

Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/tenants/{tenantId}

soft/hard delete tenant

delete
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
tenantIdinteger · int32Required

The id of the tenant to retrieve

Query parameters
isHardDeletebooleanOptional

Boolean indicator for soft/hard delete

Responses
chevron-right
200

tenant uid that was deleted.

application/json
delete
/api/v1/tenants/{tenantId}

Last updated