v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Customers

Create a new customer

  • The API supports the creation of Druva Provisioned customers.
  • If no attributes are specified, an MSC Provisioned managed customer is created by default.
  • The only supported attributes are licenseManagedAllowed and dataAccessAllowed. Providing any other attributes will result in an error.
  • For dataAccessAllowed, the only supported value is 1 (Managed).
  • This is an asynchronous operation. Upon initiation, a taskID is generated and can be retrieved from the success response. Use this taskID with the 'Get Task Details' API to track the progress of the operation.
post/msp/v3/customers

Headers

Authorizationstring required

Specify the Bearer access token

Request body

accountNamestring required

Specify the account name for the customer. Account name cannot be changed after creation. Example - 'Druva'

addressstring required

Specify the address for the customer. Example - '213 Derrick Street Boston, MA 02130 USA'

customerNamestring required

Specify the organization name for the customer. It should be unique across all customers of Druva. Example - 'Druva'

phonestring required
  • Specify the phone number for the customer. Example - '12345678910'
    • Maximum length can be 30.
    • The country code must be prefixed with a '+' sign.
tenantAdminsinteger[]

Specify the IDs of tenant admins assigned to the customers. You can get tenant admin IDs using 'List admins' API. Example - [1]

featuresobject[]

Specify the features supported at Druva MSP customer level.

Example request

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

Response

Ok

Example response

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