Approve or reject a gated apply

post/workspaces/{workspaceId}/runs/{runId}/approvals

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/workspaces/{workspaceId}/runs/{runId}/approvals
  • Auth: HTTP bearer

Path parameters

workspaceIdstring required
runIdstring required

Request body

status'approved' | 'rejected' required
commentstring

Response

Recorded decision

idstring required
run_idstring required
org_idstring required
user_idstring required
status'approved' | 'rejected' required
commentstring required
created_atstring date-time required
user_namestring
avatar_urlstring

Changes

No recorded changes to this operation across all 14 revisions of this API.