POST RecycleBin/GetItem
Returns information 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
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
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:
|
Example: Find a deleted item
Request
POST https://tpp.venafi.example/vedsdk/RecycleBin/GetItem Authorization:Bearer 4MyGeneratedBearerTknz== { "Guid": "8ac7fc18-db93-4efd-8c96-9d97df14304b" }
Response
HTTP/1.1 200 OK { "Item":{ "DN":"\\VED\\Logging\\Notification Rules\\LogNotficationHeartBeat", "DeletedBy":{ "FullName":"\\VED\\Identity\\admin", "Name":"admin", "Prefix":"local", "PrefixedName":"local:admin", "PrefixedUniversal":"local:{7492e6c1-9f96-4927-8ea0-1a720aa28380}", "Type":1, "Universal":"{7492e6c1-9f96-4927-8ea0-1a720aa28380}" }, "DeletedOn":"5/27/2022 8:26:46 PM", "Guid":"8ac7fc18-db93-4efd-8c96-9d97df14304b", "Name":"LogNotficationHeartBeat", "PurgeOn":"01/01/0001 08:00:00", "RestorationDN":"\\VED\\Logging\\Notification Rules\\LogNotficationHeartBeat", "RestoreState":1, "Type":"Config Object", "TypeDetail":"Log Heartbeat" }, "Result":0 }