POST RecycleBin/GetItemDetails

Retrieves details about a Recycle Bin item.

Requirements

  • Permissions: The caller must have Master Admin permission
  • Token scope:  Admin:RecycleBin

Headers

  • Content type: Content-Type:application/json.

  • Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.

Parameters

Input parameters

Name

Description

GUID

The GUID of the Recycle Bin Item to delete. Use the Guid format from POST RecycleBin/GetContents. For example, 3d6b61d-1c71-4603-883f-25b8c2ceecdd.

Returns

Response description

Name

Description

HTTP 200

For valid requests, this call returns a HTTP 200 message and the following data in the message body:

HTTP 400

For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:

  • error: The reason for the error.

  • error_description: If available, additional information about how to retry the request.

Example: Find a deleted policy that contained a workflow and a device

Request

POST https://tpp.venafi.example/vedsdk/RecycleBin/GetItemDetails
Authorization:Bearer 4MyGeneratedBearerTknz==
{
   "GUID": "7c31ba25-e9fa-487d-882f-d94c233bb166"
}

Response

HTTP/1.1 200 OK
{
   "Details":[
      {
         "Type":1,
         "VaultType":128
      }
   ],
   "Result":0
}