Approve a job
POST/v1/jobs/:id/approve
Approves the job. The job launches once every approver group approves.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Approval recorded
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to view this job, or the API key lacks the jobs:approve scope (err_insufficient_scope).
Job not found (err_job_not_found).
Validation failed. Error codes:
err_no_ongoing_approval— the job is not waiting for approvalerr_user_not_a_reviewer_for_current_step— the user isn't a current approvererr_already_voted— the approver already decidederr_invalid_submitted_by_user— the acting user can't approve on someone else's behalferr_approval_note_required— your account requires a note when approving on someone else's behalf