SymetryML Documentation
Jobs

Kill job

Send a running job a termination request and remove it from the scheduler.

DELETE
/{user}/jobs/{jobId}

Send a running job a termination request and remove it from the scheduler.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

jobId*string

The jobId returned when the job was started. Although this is a path string, it must represent an integer.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/c1/jobs/string"
{  "statusCode": 200,  "statusString": "The job was sent a message to terminate and it was removed from the scheduler",  "values": {    "string": "terminate message sent:res0"  }}

{  "statusCode": 400,  "statusString": "Invalid Job id, it should be a number",  "values": {}}

{  "statusCode": 500,  "statusString": "The message to terminate the job failed",  "values": {}}