Delete a merge queue
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 merge-queue permissions it holds; a key with none can read merge queues but change nothing. Those permissions scope merge queue only: every key can use the Flaky Tests and Dynamic CI endpoints, including their writes, whatever permissions it holds.
Path Parameters
The merge queue's id.
"xK9mP2nQ"
Response
The queue was deleted