Administrator
- Administrator
- All Products
POST /dbmi/public/api/v2/job/stop
Field | Type | Description |
|---|---|---|
jobId | integer | The ID of the job that you want to stop. |
{ "jobId": "<jobId>" }
{ "status": "Success", "code": 202, "message": "Job with org id 2HimcQ9cXW5kLUCOUkXGi8 and job name zendeskToSlfk-UserA-test_8 has been accepted to stop successfully." }
HTTP status code | Error code | Error message |
|---|---|---|
400 | CDIR_VALIDATION_MISSING_FIELD | Required parameter {field} is missing. |
400 | CDIR_VALIDATION_INVALID_VALUE | Value for {field} is invalid. |
401 | CDIR_AUTH_UNAUTHORIZED | Authentication failed. Access token is missing or
expired. |
403 | CDIR_AUTHZ_FORBIDDEN | You do not have the required permissions for this
request. |
404 | CDIR_JOB_NOT_FOUND | Job {jobId} was not found. |
409 | CDIR_JOB_NOT_DEPLOYED | Deploy the job {jobId} before performing this
operation. |
409 | CDIR_JOB_INVALID_STATE like failed, aborted | Job {jobId} cannot perform the requested action while in
state {state}. Verify the job's status before retrying. |
500 | CDIR_INTERNAL_ERROR | An unexpected internal error occurred with this job. |
503 | CDIR_SERVICE_UNAVAILABLE | Service is temporarily unavailable. |
{ "error": { "httpStatus": 409, "code": "CDIR_JOB_INVALID_STATE", "message": "Job {135332} cannot perform the requested action while in an unexpected state. Verify the job's status before retrying.", "details": [ { "jobId": "135332" } ], "traceId": "2a4d019f-fcc4-4eb9-9934-649f6a2e0ad3" } }