Change Job Status

POST/AtsJob/changeStatus

Changes the status of a job listing. When transitioning to Activated, the active job limit is checked.

Request Body

FieldTypeRequiredDescription
jobIdlongrequiredJob ID. Must be > 0
jobStatusintrequiredTarget status: 0 = Activated, 1 = Stopped, 2 = Deleted

Errors

StatusDescription
400 Bad RequestJob is already in this status, job is deleted, active limit exceeded, or subscription on approving
403 ForbiddenJob does not belong to account
404 Not FoundJob not found

Request

curl -X POST https://ua.jooble.org/employer/api/v2/AtsJob/changeStatus \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \
  -d '{"jobId": 12345, "jobStatus": 0}'

Response · 200 OK

{
  "status": "Activated"
}