Delete a ticket type
/api/settings/discord-tickets/types/{id}Remove a ticket type. Tickets already open stay open; only people who may manage threads can close them afterwards, and a panel already posted keeps its button, which then says the ticket type is gone.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/api/settings/discord-tickets/types/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "transcriptChannelId": null, "types": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "staffRoleId": null, "staffRoleName": null, "openingMessage": "string", "holdsPrivateImages": true, "position": 0, "openTickets": 0 } ]}Add a ticket type POST
Add a kind of ticket: its button label, the staff role, the opening message and whether members may post private images. At most five. Needs the `ManageSettings` permission.
Update a ticket type PUT
Change a ticket type's button label, staff role, opening message or private images switch. Tickets already open keep the private images rule they were opened with. Needs the `ManageSettings` permission.