Domain operations
Overview
Check the list of available endpoints and methods to modify and update domains (both common and multitenant domains) using the Provisioning API:
Endpoints and methods | Description |
---|---|
GETÂ | Get a list of all the domains in a multitenant structure. |
GET | Get basic information about a given domain in a multitenant structure. |
GET | Get the price plan retention values of the given multitenant domain. |
GET | Get details of all the roles in the given domain. |
GET | Get details of a specific role in a given domain. |
GET | Get the list of role policies available in a given domain. |
GET | Get the list of applications available in a given domain. |
GET | Get the list of role resources available in a given domain. |
GET | Get the list of role vaults available in a given domain. |
GET | Retrieve the subset of preferences of the given domain. |
GET | Retrieve the limits in the preferences of the given domain. |
POSTÂ | Create a new domain in a multitenant structure. |
POSTÂ | Disable a multitenant domain. |
POSTÂ | Enable a multitenant domain. |
POSTÂ | Create a new role in a given domain. |
PUT | Change the current plan of a multitenant domain. |
PUT | Update the given domain plan retention configuration. |
PUT | Update a role in a given domain. |
PUT | Update a role. |
PUT | Update the subset of preferences of a given domain. |
PUT | Update the limits in the preferences of a given domain. |
PUT | Download a certificate. |
DELETe | Delete a domain. |
DELETe | Delete a role in a given domain. |
Endpoints and methods
GET /domain
Get a list of all the domains in a multitenant structure. By default, only active domains are retrieved.
GET /domain/{domainName}
Get basic information about a given domain in a multitenant structure.
GET /domain/{domainName}/retention
Get the price plan retention values of the given multitenant domain.
GET /domain/{domainName}/roles
Get details of all the roles in the given domain, including the default ones.
GET /domain/{domainName}/roles/{roleName}
Get details of a specific role in a given domain, either a default or a custom role.
GET /domain/{domainName}/policies
Get the list of role policies (or permissions) available in a given domain.
GET /domain/{domainName}/applications
Get the list of applications available in a given domain.
GET /domain/{domainName}/resources
Get the list of role resources available in a given domain. Resources refer to lookups and activeboards created in the domain.
GET /domain/{domainName}/roles/vaults
Get the list of role vaults available in a given domain.
GET /domain/{domainName}/preferences
Retrieves the subset of preferences of the given domain.
GET /domain/{domainName}/preferences/limits
Retrieve the limits in the preferences of the given domain.
POST /domain
Create a new domain in a multitenant structure.
POST /domain/{domainName}/disable
Disable a multitenant domain.
POST /domain/{domainName}/enable
Enable a multitenant domain.
Domains with the status pending cannot be activated. Also, when you try to disable or enable an already disabled or enabled domain, you will get an error response.
POST /domain/{domainName}/roles
Create a new role in a given domain.
PUT /domain/{domainName}/plan
Change the current plan of a multitenant domain. The new plan must be valid for the multitenant structure and different from the current one.
PUT /domain/{domainName}/retention
Update the price plan configuration (retention & volume) of a given domain. Partial updates are permitted.
PUT /domain/{domainName}/roles
Updates a domain custom role in a given domain.
PUT /domain/{domainName}/roles/{roleName}
Updates a domain custom role.
PUT /domain/{domainName}/preferences
Update the subset of preferences of a given domain.
PUT /domain/{domainName}/preferences/limits
Update the limits in the preferences of a given domain.
PUT /domain/{domainName}/certificates/download
Download the certificates of a given domain.
DELETE /domain/{domainName}
Delete a multitenant domain. This will additionally delete all user domains belonging to the multitenant domain. Any user that ends up without at least one user domain will be deleted as well.
DELETE /domain/{domainName}/roles/{roleName}
Delete a role in a given domain. Note that a role cannot be deleted while it is assigned to a user.
Â