PPylon Developers
ApiTicket Administration

Void ticket

Voids a ticket with a reason. Admin action that invalidates the ticket without refund processing.

POST
/api/v1/tickets/{id}/void
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/void" \  -H "Content-Type: application/json" \  -d '{    "reason": "string",    "initiatedBy": "7c3ed0e2-d24e-40a1-b1fe-f6a01ac857c6"  }'
{
  "ticketId": "e3e3e8ea-b02a-4536-85a2-a9c90f4ee74f"
}
{
  "code": "string",
  "message": "string"
}