Resources

Fetch trashed resources or accounts

Retrieves a list of resources or accounts that have been moved to trash. Use the type field to specify whether to fetch trashed resources or accounts.

get/restapi/json/v1/trash

Request

Query parameters

JSON string to specify the type of trashed items to fetch.

Headers

orgNamestring

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

Response

Trashed items

Example response

{
  "operation": {
    "Details": [
      {
        "accountName": "delete",
        "resourceName": "delete",
        "trashId": 306
      }
    ],
    "name": "GET_TRASH_DETAILS",
    "totalRows": 1
  }
}

Changes

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