Accounts

Delete or trash an account

Permanently deletes an account or moves it to the trash in PAM360. To move the account to trash instead of permanently deleting it, pass deleteType as trash in the INPUT_DATA. If INPUT_DATA is omitted or deleteType is not specified, the account is permanently deleted.

delete/restapi/json/v1/resources/{resourceId}/accounts/{accountId}

Request

Path parameters

resourceIdinteger required

Resource ID

accountIdinteger required

Account ID

Headers

orgNamestring

Name of the Organization (for MSP/multi-org deployments)

Request body application/x-www-form-urlencoded

Example request

{
  "INPUT_DATA": {
    "operation": {
      "Details": {
        "deleteType": "trash"
      }
    }
  }
}

Response

Account deleted or moved to trash

Example response

{
  "operation": {
    "name": "DELETE ACCOUNT"
  }
}

Changes

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