Create branch approval

http
POST /projects/{project_reference}/branches/{branch_id}/approvals

Approve a branch as the calling user, optionally with a comment. Requires project.files.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
branch_idpathYes

Request body

FieldTypeRequiredDescription
commentstringApproval comment.

Responses

StatusDescription
201Approval created.
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
413Payload too large
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.