Merge a branch automatically once it is ready
With the organization review policy’s allow_auto_merge on, enabled=true has the branch merge itself, as the caller, as soon as every merge requirement passes (the ordinary merge job is then queued and can be polled through merge-status); enabled=false cancels a waiting request. The merge re-checks every requirement as the caller when it runs.
Authorizations
Headers
Workspace identifier
Path Parameters
Project UUID, not a slug. Resolve a slug with GET /project/slug/{slug} using the same workspace and credentials, then pass the returned id.
Body
True to merge the branch automatically, as the caller, once every merge requirement passes; false to cancel a waiting automatic merge.