Tenant Profile Management

Retrieve tenant list with details

GET /api/v1/tenants/

Retrieve the list all tenants, both ServiceProviders and Enterprises.

Additional information:

Response JSON Object:

Create a tenant

POST /api/v1/tenants/

Add a new tenant.

Additional requirements:

Request JSON Object:

Retrieve tenant details

GET /api/v1/tenants/(string: tenant_id)/

Retrieve the tenant details.

Additional information:

Response JSON Object:

Update tenant details

PUT /api/v1/tenants/(string: tenant_id)/

Update the tenant details.

Additional requirements:

Request JSON Object:

Remove a tenant

DELETE /api/v1/tenants/(string: tenant_id)/

Delete a tenant.

Tenant Detail Attributes

Name

Type

Methods

Description

GET

POST

PUT

DELETE

tenantId

String

A

R

R

R

The unique id of the tenant. Length in range 1 - 30.

type

String

A

R

F

F

The type of the tenant. Can be “ServiceProvider” or “Enterprise”. This will be converted to “isEnterprise:Boolean”.

useCustomRoutingProfile

Boolean

C

C

F

F

If set, the service will synchronize the Service Provider with the Network Server and create a new instance of the routing profile for the Service Provider. Only available with type=”ServiceProvider”.

defaultDomain

String

A

O

O

F

The default domain of the tenant. Length in range 1 - 80.

name

String

A

O

O

F

The name of the tenant. Length in range 1 - 80.

supportEmail

String

A

O

O

F

The support email of the tenant. Length in range 1 - 80.

contact

Object

A

O

O

F

The main contact information, see Contact Information attributes.

address

Object

A

O

O

F

The address information, see Contact Information attributes.

useTenantLanguage

Boolean

A

O

O

F

TODO