Change Job Status
POST
/AtsJob/changeStatusChanges the status of a job listing. When transitioning to Activated, the
active job limit is checked.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
jobId | long | required | Job ID. Must be > 0 |
jobStatus | int | required | Target status: 0 = Activated, 1 = Stopped, 2 = Deleted |
Errors
| Status | Description |
|---|---|
400 Bad Request | Job is already in this status, job is deleted, active limit exceeded, or subscription on approving |
403 Forbidden | Job does not belong to account |
404 Not Found | Job not found |