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_typestringoptionalType of the target being removed. Either user or role (default user).

On thread tickets, removing a role removes its members individually — capped at the first 25 members, with a note field in the response when truncated.

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"