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 | |
---|---|---|
1 | GETÂ | Get a list of all the domains in a multitenant structure. |
2 | GET | Get basic information about a given domain in a multitenant structure. |
3 | GET | Returns a list of all the children domains a root domain has in a multitenant structure. |
4 | GET | Get the price plan retention values of the given multitenant domain. |
5 | GET | Get details of all the roles in the given domain. |
6 | GET | Get details of a specific role in a given domain. |
7 | GET | Get the list of role policies available in a given domain. |
8 | GET | Get the list of applications available in a given domain. |
9 | GET | Get the list of role resources available in a given domain. |
10 | GET | Get the list of role vaults available in a given domain. |
11 | GET | Retrieve the subset of preferences of the given domain. |
12 | GET | Retrieve the limits in the preferences of the given domain. |
13 | GET | Returns a list of all the domains from which a root domain can access data in a multitenant structure. |
14 | GET | Returns the configuration info of a multitenant domain. |
15 | GET | Returns a list of all the API keys associated to the given domain. |
16 | GET | Returns info of a specific API key. |
17 | POSTÂ | Create a new domain in a multitenant structure. |
18 | POSTÂ | Disable a multitenant domain. |
19 | POSTÂ | Enable a multitenant domain. |
20 | POSTÂ | Creates a new domain visibility configuration (i.e., custom data access) for a given domain. |
21 | POSTÂ | Create a new role in a given domain. |
22 | POSTÂ | Generate a new API key/secret pair in the domain. |
23 | PUT | Change the current plan of a multitenant domain. |
24 | PUT | Update the given domain plan retention configuration. |
25 | PUT | Update a role in a given domain. |
26 | PUT | Update a role. |
27 | PUT | Update the subset of preferences of a given domain. |
28 | PUT | Update the limits in the preferences of a given domain. |
29 | PUT | Download a certificate. |
30 | PUT | Update the configuration of a multitenant domain. |
31 | Put | Updates a domain visibility configuration (i.e., custom data access) for a given domain. |
32 | DELETe | Delete a domain. |
33 | DELETe | Delete a role in a given domain. |
34 | DELETe | Delete a specific API key. |
35 | delete | Deletes a domain visibility configuration (i.e., custom data access) for 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.
Note that this endpoint requires multitenant API credentials. Common domain API key/secret pairs won’t work.
GET /domain/{domainName}
Get basic information about a given domain in a multitenant structure.
Note that this endpoint requires multitenant API credentials. Common domain API key/secret pairs won’t work.
GET /domains/{domainName}
Returns a list of all the domains a root domain has in a multitenant structure.
GET /domain/{domainName}/retention
Get the price plan retention values of the given multitenant domain.
Note that this endpoint requires multitenant API credentials. Common domain API key/secret pairs won’t work.
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, both installed and not installed.
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.
GET /domain/{domainName}/visibility
Returns a list of all the domains from which a root domain can access data in a multitenant structure.
GET /domain/{domainName}/auth
Returns the configuration info of a multitenant domain.
GET /domain/{domainName}/keys
Returns a list of all the API keys associated to the given multitenant domain.
GET /domain/{domainName}/keys/{key}
Returns information of a specific API key.
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}/visibility
Creates a new domain visibility configuration (i.e., custom data access) for a given domain.
POST /domain/{domainName}/roles
Create a new role in a given domain.
POST /domain/{domainName}/keys
Creates a new API key/secret pair for the domain. The autogenerated credentials are returned in the response. The request body of this request must be empty.
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.
PUT /domain/{domainName}/auth
Updates the configuration info of a multitenant domain.
PUT /domain/{domainName}/visibility
Updates a domain visibility configuration (i.e., custom data access) for 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.
DELETE /domain/{domainName}/keys/{key}
Delete a specific API key from the given domain.
DELETE /domain/{domainName}/visibility
Deletes a domain visibility configuration (i.e., custom data access) for a given domain.