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 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.
    • For valid products and their Product Features, see - https://developer.druva.com/docs/msp-product-and-attribute-values
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
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.

string
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.

Body Params

Specify the details for a new customer.

date-time

Specify the new date on which the license of the tenant will expire. The format for this parameter value is YYYY-MM-DDTHH:MM:SSZ. Example - '2022-10-25T00:00:00Z'

double

Specify the new value of Druva Consumption Units that should be allocated to the customer. If the customer is close to breaching this limit, an alert is sent to the configured email address based on the severity of the breach. Example - 1.5

date-time

Specify the new date from when the Quota limit is applicable to the customer and the storage consumption begins. The format for this parameter value is YYYY-MM-DDTHH:MM:SSZ. Example - '2022-10-15T00:00:00Z'

date-time

Specify the new date when the allocated Quota limit will expire. After the Quota limit expires, the customer cannot back up the data. The format for this parameter value is YYYY-MM-DDTHH:MM:SSZ. Example - '2022-10-15T00:00:00Z'

int64
  • Specify the unique ID of the Service Plan that you wish to associate with the tenant.
  • Get the Service Plan ID using the 'List Service Plans' API.
int64

Specify the tenant type for the product.

  • Specify '1' if it is a Sandbox.
  • Specify '2' if it is Evaluation. This is a trial plan with a validity of 30 days. If you select this tenant type, the product license will be active until 30 days. After 30 days, you must change the tenant type to Commercial.
  • Specify '3' if it is Commercial. For this tenant type, a Enterprise Workloads license is valid for eight years, while a SaaS Apps and Endpoints license is valid for three years.
storageRegions
array of objects
  • Specify the storage regions where you want to store the tenant data specifying the 'name' of storage region and its associated storage provider.
  • Storage Provider values: 1 (AWS), 2 (Azure)
storageRegions
features
array of objects

Specify the new list of features that needs to be enabled/disabled for the tenant. All the supported attributes are required while updating any feature.

features
Headers
string
required

Specify the Bearer access token

Responses

400

Bad Request

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json