v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Customers

Update customer details

Update existing customer details.

  • The only supported attributes are licenseManagedAllowed and dataAccessAllowed. Providing any other attributes will result in an error.
  • For dataAccessAllowed, the existing value cannot be changed.
  • Refer this page for supported attributes: https://developer.druva.com/docs/msp-product-and-attribute-values.
  • 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.
  • You must provide existing information in all the fields that do not require an update.
put/msp/v3/customers/{customerID}

Path parameters

customerIDstring required

Specify the unique ID of the customer you wish to update. Get the unique ID of the customer using the 'List all customers' API.

Headers

Authorizationstring required

Authorization header should contain the Bearer access token.

Request body

accountNamestring
  • Specify the account name for the customer. Account name cannot be changed in updation. Example - 'Druva'.
  • If account name is different than existing, it will return error.
  • If account name is empty then it will return success
addressstring

Specify the address for the customer. This field can be left empty only for Druva Provisioned customers.

customerNamestring required

Specify the customer name for the customer.

featuresobject[]

Specify the features supported at Druva MSP customer level.

phonestring
  • Specify the phone number for the customer.
    • This field can be left empty only for Druva Provisioned customers.
    • Maximum length can be 30.
    • The country code must be prefixed with a '+' sign.
tenantAdminsinteger[]
  • Specify the unique IDs of tenant administrators who should manage the tenant for the customer. Get the list of tenant administrators IDs using the 'List all administrators' API.
  • If you want to remove a tenant administrator from this customer, simply do not specify the unique ID of the administrator.
  • If tenant admin list is empty then all tenant admins will be removed

Example request

{
  "accountName": "Druva",
  "address": "213 Derrick Street Boston, MA 02130 USA",
  "customerName": "Druva",
  "features": [
    {
      "name": "Security Posture and Observability"
    }
  ],
  "phone": "12345678910",
  "tenantAdmins": [
    1,
    2,
    3
  ],
  "attributes": [
    {
      "name": "licenseManagementAllowed",
      "value": "1"
    },
    {
      "name": "dataAccessAllowed",
      "value": "1"
    }
  ]
}

Response

Ok

Example response

{
  "task": {
    "id": "c8b54819-486a-497a-b86e-5b93f2422711"
  }
}