Delete a merge queue
Requires the Update Merge Queue settings permission. Destructive and not reversible. Deletes a merge queue. The queue must be empty — drain or dequeue its pull requests first, or the call returns QUEUE_HAS_ACTIVE_ENTRIES. Historical queue entries and verification runs stay readable by id afterwards.
Authorizations
An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the permissions it holds. A new key starts with no permissions: it can read merge queues but change nothing in them, and it cannot get a Dynamic CI plan. Each endpoint that needs a permission names it in its description; the Dynamic CI plan endpoints need Generate Dynamic CI plans.
Response
The queue was deleted