v1
latestOpenAPI 3.1.02026-07-245531,0212.1 MBTenants
Patch an existing tenant
- Patches existing tenant for given customer for the MSP with given details.
- After you initiate the operation, it is queued and a task ID is generated. You can get the task ID from the success response. Use this task ID in the 'Get Task Details' API to track the operation's progress.
- Notes
- Enterprise Workloads license is valid for eight years, while a SaaS Apps and Endpoints license is valid for three years.
- Storage Regions once added, will not be removed.
- The AWS and Azure storage regions must be in the same geographic location for ‘Business’ edition.
- Feature Endpoints, D365 and Okta do not support business edition.
- For business edition, there will be only 1 storage region supported.
- If a feature is enabled/disabled in service plan it can not be overridden via this API call.
- IsEnabled is a required field while specifying tenant features.
- All the supported attributes are required while updating any feature.
- Premium Security is only supported for Enterprise Workloads.
- If 'Premium Security' needs to be enabled for a tenant, Security Posture & Observability and Enterprise Workloads Accelerated Ransomware Recovery features both should be enabled for that tenant.
- For valid products and their Product Features, see - https://developer.druva.com/docs/msp-product-and-attribute-values
- For valid products and their values, see - https://developer.druva.com/docs/msp-product-and-attribute-values
- View all supported storage regions here - https://help.druva.com/en/articles/15162912-aws-region-availability-matrix .
patch/msp/v3/customers/{customerID}/tenants/{tenantID}
Path parameters
customerIDstring required
Specify the ID of a customer for which you wish to update tenant. Get the ID of a customer using the 'List all customers' API.
tenantIDstring required
Specify the ID of a tenant for which you wish to update. Get the ID of a tenant using the 'List all tenants' API.
Headers
Authorizationstring required
Specify the Bearer access token
Request body
Example request
{
"licenseExpiryDate": "2022-10-25T00:00:00Z",
"quota": 1.5,
"quotaStartDate": "2022-10-15T00:00:00Z",
"quotaEndDate": "2022-10-15T00:00:00Z",
"servicePlanID": 1,
"tenantType": 2,
"storageRegions": [
{
"name": "us-east-1",
"storageProvider": 1
}
],
"features": [
{
"name": "M365",
"isEnabled": true,
"attrs": [
{
"name": "userCount"
}
]
}
]
}Response
Ok
Example response
{
"task": {
"id": "c8b54819-486a-497a-b86e-5b93f2422711"
}
}