Administrator
- Administrator
- All Products
POST /dbmi/public/api/v2/job/undeploy
Field | Type | Description |
|---|---|---|
jobId | integer | The ID of the job that you want to undeploy. |
{ "jobId": "<jobId>" }
{ "status": "Success", "code": 202, "message": "Job with org id 2HimcQ9cXW5kLUCOUkXGi8 and job name zendeskToSlfk-UserA-test_8 has been accepted to undeploy 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_ALREADY_RUNNING | Job {jobId} is already running. |
409 | CDIR_JOB_NOT_DEPLOYED | Deploy the job {jobId} before performing this
operation. |
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_NOT_DEPLOYED", "message": "Deploy the job {138514} before performing this operation.", "details": [ { "jobId": "138514" } ], "traceId": "2fa22ed7-6d23-4f35-b209-881fe8ac5fad" } }