Partner Portal

createPartnerUser

Create a secondary partner under a specific reseller. Use role='administrator' for full permissions or role='custom' with a permissions block. Set accessType='all' for access to all accounts, or 'custom' with accountIds for specific accounts.

post/v2/distributors/users

Request

Request body

emailstring email required

User email address

passwordstring required

User password

rolestring required

User role. Use 'custom' to apply the fine-grained permissions block. Use role='administrator' for full permissions or role='custom' with a permissions block

Example request

{
  "email": "user@example.com",
  "password": "P@ssw0rd!",
  "role": "custom",
  "permissions": {
    "partnerPortalOperations": {
      "viewPartnerSettingsPage": true,
      "viewBillingPage": true,
      "viewBillingNotification": true,
      "viewDashboard": true,
      "viewSecurityAuditPage": true,
      "addNewAccounts": true,
      "subscribeAccounts": true,
      "manageNotifications": true,
      "exportUsageReport": true
    },
    "accountOperations": {
      "viewAccountSettingsPage": true,
      "viewAccountBillingPage": true,
      "viewSupportPage": true,
      "viewAccountActivity": true,
      "viewAccountSecurityAuditPage": true,
      "manageAccountNotifications": true,
      "viewBackupsPage": true,
      "activateNewBackupTasks": true,
      "modifyBackupTasks": true,
      "deleteBackupTasks": true,
      "pauseBackupTasks": true,
      "executeBackupTasks": true,
      "cancelBackupTasks": true,
      "viewBackupTasks": true,
      "previewBackedUpData": true,
      "restoreBackups": true,
      "exportBackups": true,
      "deleteBackupItemsGDPR": true
    },
    "enabledServices": {
      "exchange": true,
      "msGroupsTeams": true,
      "sharepoint": true,
      "onedrive": true,
      "salesforce": true,
      "dropbox": true,
      "box": true,
      "googleWorkspace": true,
      "googleSharedDrives": true
    }
  },
  "accessibleAccounts": {
    "accessType": "custom",
    "accountIds": [
      "123d1dcf-e845-4756-9654-adbe014d1aaa"
    ]
  }
}

Response

Successful retrieval of the information.

idstring

Unique internal ID of the secondary user

emailstring

Email address of the secondary user

rolestring

Role assigned to the secondary user

partnerIdstring

Partner ID of the distributor or reseller this user belongs to

accessibleAccountsstring

Accessible accounts for the secondary user, can be all or custom

Example response

{
  "email": "user@example.com",
  "role": "custom"
}

Changes

No recorded changes to this operation across all 1 revision of this API.