Reject a requisition
POST/v1/requisitions/:id/reject
Rejects the requisition. Each approver decides once.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Decision 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 requisition, or the API key lacks the requisitions:approve scope (err_insufficient_scope). Also returned when requisitions are not enabled for your account (err_requisition_feature_not_enabled).
Requisition not found (err_requisition_not_found).
Validation failed. Error codes:
err_no_ongoing_approval— the requisition 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_requisition_invalid— withapply_to_groupfalse, the requisition has invalid data and can't be decided aloneerr_reject_on_behalf_not_allowed—approver_idnames someone other than the acting user