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
idinteger · int32Required

The id of the tenant.

Example: 1001
mimirIdstringOptional
uuidstring · uuidRequired

The universally unique identifier of the tenant.

namestringRequired

The internal system name of the tenant.

displayNamestringOptional

The name of the tenant as shown to users within the tenant.

smgbooleanRequired
statusstring · enumRequired

The current status of the tenant. Possible values:

  • Creating
  • Failed
  • Updating
  • Deleted
  • Deleting
  • Ready
Possible values:
createdAtstring · date-timeRequired

The date and time when the tenant was created.

updatedAtstring · date-timeRequired

The date and time when the tenant was last updated.

contractTypestring · enumRequiredPossible values:
eulastringOptional

The signer details for the tenant's EULA (End User License Agreement).

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
idinteger · int32Required

The id of the tenant.

Example: 1001
mimirIdstringOptional
uuidstring · uuidRequired

The universally unique identifier of the tenant.

namestringRequired

The internal system name of the tenant.

displayNamestringOptional

The name of the tenant as shown to users within the tenant.

smgbooleanRequired
statusstring · enumRequired

The current status of the tenant. Possible values:

  • Creating
  • Failed
  • Updating
  • Deleted
  • Deleting
  • Ready
Possible values:
createdAtstring · date-timeRequired

The date and time when the tenant was created.

updatedAtstring · date-timeRequired

The date and time when the tenant was last updated.

contractTypestring · enumRequiredPossible values:
eulastringOptional

The signer details for the tenant's EULA (End User License Agreement).

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
uidstringRequired
delete
/api/v1/tenants/{tenantId}

Last updated