Skip to main content

TenantsApi

MethodHTTP requestDescription
createTenantAsyncUsingPOSTPOST /api/web/v5/async/tenantsCreate a tenant asynchronously
createTenantUsingPOSTPOST /api/web/v4/tenantsCreate a tenant
getCreateTenantAsyncResultUsingGETGET /api/web/v4/async/tenants/{id}/createresultGet the result of an asynchronous tenant creation operation
getCreateTenantAsyncStatusUsingGETGET /api/web/v4/async/tenants/{id}/createstatusGet the status of an asynchronous tenant creation operation
getEntitlementUsageInfoUsingPOSTPOST /api/web/v4/tenants/entitlements/usageLists a page of entitlement usage information
getSpIdentityProviderUsingGETGET /api/web/v1/tenants/{id}/spidentityproviderGet Tenant Identity Provider and Service Provider OIDC Application for Tenant Management.
getTenantEntitlementUsingGETGET /api/web/v4/tenants/{tenantid}/entitlements/{type}Get an entitlement
getTenantEntitlementsUsingGETGET /api/web/v4/tenants/{tenantid}/entitlementsGet entitlements for tenant
getTenantUsingGETGET /api/web/v4/tenants/{id}Get a tenant
getTenantsPageUsingPOSTPOST /api/web/v4/tenantspagedLists a page of tenants
lockTenantUsingPUTPUT /api/web/v4/tenants/{id}/lockLock a tenant
removeTenantUsingDELETEDELETE /api/web/v4/tenants/{id}Delete a tenant
setSpIdentityProviderUsingPUTPUT /api/web/v1/tenants/{id}/spidentityproviderSet Tenant Identity Provider and Service Provider OIDC Application for Tenant Management
setTenantEntitlementUsingPUTPUT /api/web/v4/tenants/{tenantid}/entitlementsSet an entitlement
unlockTenantUsingPUTPUT /api/web/v4/tenants/{id}/unlockUnlock a tenant

createTenantAsyncUsingPOST

CreateTenantAsyncStatus createTenantAsyncUsingPOST(createTenantParms)

Create a tenant asynchronously

<p>Create a new tenant for a service provider. Caller requires the TENANTS:ADD permission from a service provider role.</p><p>Notes on CreateTenantParms attributes: </p><b>adminUser</b> (UserParms):

  • The locale attribute is ignored if provided. It defaults to English for the first super administrator.
  • The status attributes is ignored if provided. It defaults to ACTIVE for the first super administrator.
  • The userId is required.

<b>adminApiApplication</b> (AdminApiApplicationParms):

  • The spRoleId attribute is not supported. An error is returned if provided.

<b>entitlements</b> (EntitlementParms):

  • The contractMode attribute is required. It must be either TRIAL or PRODUCTION.
  • The quantity attribute is required.
  • <b>entitlements.issuance</b> (EntitlementParms.IssuanceParms):
  • The entitlements.issuance attribute is required if you are creating an Issuance tenant.
  • The serviceBundles attribute is required. One service bundle (of those supported by the service provider contract) must be defined.

Parameters

NameTypeDescriptionNotes
createTenantParmsCreateTenantParms

Return type

CreateTenantAsyncStatus

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

createTenantUsingPOST

CreateTenantResult createTenantUsingPOST(createTenantParms)

Create a tenant

Create a new tenant for a service provider. Caller requires the TENANTS:ADD permission from a service provider role.
Notes on CreateTenantParms attributes:
<b>adminUser</b> (UserParms):

  • The locale attribute is ignored if provided. It defaults to English for the first super administrator.
  • The status attributes is ignored if provided. It defaults to ACTIVE for the first super administrator.
  • The userId is required.

<b>adminApiApplication</b> (AdminApiApplicationParms):

  • The spRoleId attribute is not supported. An error is returned if provided.

<b>entitlements</b> (EntitlementParms):

  • The contractMode attribute is required. It must be either TRIAL or PRODUCTION.
  • The quantity attribute is required.
  • <b>entitlements.issuance</b> (EntitlementParms.IssuanceParms):
  • The entitlements.issuance attribute is required if you are creating an Issuance tenant.
  • The serviceBundles attribute is required. One service bundle (of those supported by the service provider contract) must be defined.

Example

Parameters

NameTypeDescriptionNotes
createTenantParmsCreateTenantParms

Return type

CreateTenantResult

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getCreateTenantAsyncResultUsingGET

CreateTenantResult getCreateTenantAsyncResultUsingGET(id)

Get the result of an asynchronous tenant creation operation

Get the result of a tenant creation operation for a service provider. The results for a given operation can only be retrieved once. Caller requires the TENANTS:ADD permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the create tenant operation whose results are to be fetched.

Return type

CreateTenantResult

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getCreateTenantAsyncStatusUsingGET

CreateTenantAsyncStatus getCreateTenantAsyncStatusUsingGET(id)

Get the status of an asynchronous tenant creation operation

Get the status of a tenant creation operation for a service provider. Caller requires the TENANTS:VIEW permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the create tenant operation whose status is be fetched.

Return type

CreateTenantAsyncStatus

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getEntitlementUsageInfoUsingPOST

UsageInfoPage getEntitlementUsageInfoUsingPOST(searchParms)

Lists a page of entitlement usage information

Returns tenant usage information for the provided search parameters. Caller requires the TENANTS:VIEW permission. The following searchByAttributes are supported:

  • startTime: a <b>mandatory</b> String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
  • endTime: a String value representing an ISO-8601 date in UTC time (e.g., 2018-08-04T18:15:30). Allowed operators are: GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL.
  • tenantId: The UUID of the tenant. Allowed operators are: EQUALS.
  • isTrial: true or false. Allowed operator: EQUALS.
  • usageType: the type of entitlement: USERS, AUTHENTICATIONS, IDPROOFING, ISSUANCE. Allowed operator: EQUALS.

The orderByAttribute supports these attribute names: startTime.

Example

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

Return type

UsageInfoPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getSpIdentityProviderUsingGET

SpIdentityProvider getSpIdentityProviderUsingGET(id)

Get Tenant Identity Provider and Service Provider OIDC Application for Tenant Management.

Get Tenant Identity Provider and Service Provider OIDC Application for Tenant Management. Caller requires the SPIDENTITYPROVIDERS:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be obtained.

Return type

SpIdentityProvider

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-

getTenantEntitlementUsingGET

Entitlement getTenantEntitlementUsingGET(tenantid, type)

Get an entitlement

Get the specified entitlement for a tenant. Caller requires the SPENTITLEMENTS:VIEW permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
tenantidStringThe UUID of the tenant whose entitlement is to be fetched.
typeStringThe type of entitlement (only USERS is supported).[enum: USERS, TRANSACTIONS]

Return type

Entitlement

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getTenantEntitlementsUsingGET

List<Entitlement> getTenantEntitlementsUsingGET(tenantid)

Get entitlements for tenant

Get all entitlements for the specified tenant of the current service provider. Caller requires the SPENTITLEMENTS:VIEW permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
tenantidStringThe UUID of the tenant whose entitlements are to be fetched.

Return type

List<Entitlement>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getTenantUsingGET

Tenant getTenantUsingGET(id)

Get a tenant

Get the specified tenant for a service provider. Caller requires the TENANTS:VIEW permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be fetched.

Return type

Tenant

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getTenantsPageUsingPOST

TenantsPage getTenantsPageUsingPOST(searchParms)

Lists a page of tenants

Returns tenants for the provided search parameters. Caller requires the TENANTS:VIEW permission. The following searchByAttributes are supported:

  • hostname: a String up to 100 characters. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
  • companyName: a String up to 100 characters. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
  • contractMode: PRODUCTION, TRIAL, UNKNOWN. Allowed operator: EQUALS.
  • locked: true or false. Allowed operator: EQUALS.
  • serviceProvider: true or false. Allowed operator: EQUALS.
  • authenticationAccount: true or false. Allowed operator: EQUALS.
  • issuanceAccount: true or false. Allowed operator: EQUALS.
  • spIdp: true or false. Allowed operator: EQUALS.

The orderByAttribute supports these attribute names: hostname, companyName, contractMode, locked, serviceProvider, authenticationAccount, issuanceAccount, spIdp.

Example

Parameters

NameTypeDescriptionNotes
searchParmsSearchParms

Return type

TenantsPage

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

lockTenantUsingPUT

lockTenantUsingPUT(id)

Lock a tenant

Lock the specified tenant for a service provider. Caller requires the TENANTS:EDIT permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be locked.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

removeTenantUsingDELETE

removeTenantUsingDELETE(id)

Delete a tenant

Delete the specified tenant for a service provider. Caller requires the TENANTS:REMOVE permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be removed.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

setSpIdentityProviderUsingPUT

SpIdentityProvider setSpIdentityProviderUsingPUT(id, spIdentityProviderParms)

Set Tenant Identity Provider and Service Provider OIDC Application for Tenant Management

Set Tenant Identity Provider and Service Provider OIDC Application for Tenant Management. Caller requires the SPIDENTITYPROVIDERS:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be updated.
spIdentityProviderParmsSpIdentityProviderParms

Return type

SpIdentityProvider

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200OK-

setTenantEntitlementUsingPUT

setTenantEntitlementUsingPUT(tenantid, entitlementParms)

Set an entitlement

Set the entitlement for the specified tenant. Caller requires the SPENTITLEMENTS:EDIT permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
tenantidStringThe UUID of the tenant whose entitlement is to be set.
entitlementParmsEntitlementParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

unlockTenantUsingPUT

unlockTenantUsingPUT(id)

Unlock a tenant

Unlock the specified tenant for a service provider. Caller requires the TENANTS:EDIT permission from a service provider role.

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the tenant to be unlocked.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-