Documentation

Learn TicketsX faster

Setup guides, the full command reference, Premium features, and the REST API in one place.

Remove a Participant

DELETE/<guild_id>/api/tickets/<ticket_id>/participants/<target_id>

Revoke a user’s or role’s access to a ticket channel. The target loses read and send permissions immediately.

Query Parameters

NameTypeRequiredDescription
target_typestringrequiredType of the target being removed. Either user or role.
Example request
curl -X DELETE \
  -H "Authorization: Bearer <API_TOKEN>" \
  "https://api.ticketsx.xyz/<guild_id>/api/tickets/<ticket_id>/participants/111222333?target_type=user"