API Guide Items- Tickets - Delete a Ticket

Tickets - Delete a Ticket

DELETE yourdomain.com/api/delete/tickets/:id

Header

json
Field Type Description
Authorization String

Basic Access Authentication token.

Parameter

json
Field Type Description
id Number

Ticket unique ID.

Success 200

json
Field Type Description
status Boolean

Request status.

message String

Ticket Delete Successful.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

Ticket Delete Fail.

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Ticket Delete Successful."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Ticket Delete Fail."
}

Did you find this article useful?