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 key with none can read merge queues but change nothing in them. Permissions cover merge queues and test-result uploads, including the quarantine lookups a CI run makes before it uploads; any key can call the other Flaky Tests and Dynamic CI endpoints, including their writes.
Path Parameters
The merge queue's id.
"xK9mP2nQ"
Response
The queue was deleted