Reject a job
POST/v1/jobs/:id/reject
Rejects the job and moves it to rejected.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Rejection 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_reject_on_behalf_not_allowed—approver_idnames someone other than the acting user