New API version v7.8.64 has been released! 🎉
REST Documentation
DELETE Delete Ticket

Delete Ticket

You can use this endpoint to delete a ticket.

Request

DELETE /api/v1/tickets/:id
curl --request DELETE \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/tickets/789' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Parameters

  • id (integer, required): The ID of the ticket to delete

Response

Successful Deletion

{
	"success": true
}

A successful deletion returns an object with success: true.

Error Codes

  • 401 Unauthorized: Invalid or missing authentication
  • 404 Not Found: Ticket with the specified ID was not found
  • 500 Internal Server Error: Deletion failed

Notes

  • Deleting a ticket is a permanent action and cannot be undone
  • Make sure you are using the correct ticket ID before executing the deletion
  • Verify that the user has the necessary permissions to delete tickets

Example

DELETE /api/v1/tickets/789

Response:

{
	"success": true
}