POST Workflow/Ticket/Delete

Permanently removes an existing workflow ticket from Venafi Trust Protection Platform™. Prior to deleting the ticket, call POST Workflow/Ticket/UpdateStatus. The status change will update the certificate accordingly and prevent orphaned data. The log includes an event that marks the deleted ticket.

Requirements

  • Token scope:  Configuration:Delete

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 unique identification string of the ticket to delete.

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:

  • Result: An integer result code indicating success 1 or failure. For more information, see Workflow result codes.

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: Delete a Workflow Ticket

Request

POST https://tpp.venafi.example/vedsdk/Workflow/Ticket/Delete
Authorization:Bearer 4MyGeneratedBearerTknz== 
{
   "GUID":"af415f09-d487-43de-ba2e-f61d089b4e68"
}

Response

HTTP/1.1 200 OK 
{
   "Result":1
}