Update a job
PATCH/v1/jobs/:id
Updates a job. Fields not sent are unchanged. Closed and archived jobs can't be edited; editing a rejected job moves it back to draft.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Job updated
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 edit this job, or the API key lacks the jobs:write scope (err_insufficient_scope).
Job not found (err_job_not_found).
Validation failed. Error codes:
err_job_not_editable— the job is closed or archivederr_date_not_editable—open_atortarget_datewas sent for a job that is not publishederr_cannot_backdate_open_at—open_atwas moved earliererr_open_at_cannot_be_greater_than_target_date—target_dateis beforeopen_aterr_department_not_found— unknown or deleted departmenterr_office_not_found— unknown or deleted officeerr_invalid_employment_type— unknown or disabled employment type keyerr_description_required— no description or template, or the description is emptyerr_description_too_long— the description is over 65,535 byteserr_description_conflict— bothdescriptionandjob_description_template_idwere senterr_job_description_template_not_found— unknown template, or one this job can't useerr_compensation_required— no salary while compensation is enabled for the job's officeserr_compensation_disabled— a salary was sent while compensation is not enabled for the job's officeserr_currency_not_found— unknown currencyerr_salary_invalid_range—max_amountis not abovemin_amount, ormid_amountis outside the rangeerr_requisitions_not_enabled— requisitions are not enabled for your accounterr_requisition_required— your account requires a requisition and none was senterr_requisition_not_found— unknown requisition, or one the acting user can't manageerr_requisition_not_eligible— the requisition's status doesn't allow linkingerr_requisition_associated_with_job— the requisition is already linked to another joberr_requisition_code_not_allowed—requisition_codewas sent while requisitions are on (userequisition_ids)err_requisition_code_required— the job form makes the requisition ID mandatory and none was senterr_job_profile_not_found— job profiles are not enabled, or the profile is unknown or not activeerr_job_profile_required— your account requires a job profile and none was senterr_custom_field_not_found— a custom field that doesn't apply to this joberr_custom_field_required— a required custom field has no answererr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action