Resources

Delete or trash a resource

Permanently deletes a resource or moves it to the trash in PAM360. To move the resource 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 resource is permanently deleted.

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

Request

Path parameters

resourceIdinteger required

Resource 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

Resource deleted or moved to trash

Changes

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