Delete Cloud Slicer Job

Deletes queued or finished Cloud Slicer jobs.

Request

Request syntax:

/jobs/delete

Request parameters:

Pass the following parameters through the msg parameter:

NameData TypeDescription
idsListIdentifies one or more jobs by their system-defined IDs.

Authentication

Pass a digital signature based off of msg.

Learn more.

Response

The response for a successful request contains the following parameter.

NameData TypeDescription
actionsListContains a list of actions for each job defined in the request. Each action is described using the following syntax: ["Job IDIdentifies a job by its system-defined ID.", "Job DescriptionDescribes the action that took place. If the job was deleted, then it will return "deleted." Otherwise, it will indicate why the job was not deleted."]

Sample Request/Response

A sample request/response is provided below. The Call() function, which is imported from uplynk_api2_auth module, prepares the message body and digital signature.

from uplynk_api2_auth import Call

print(Call('/api2/cloudslicer/jobs/delete', ids=['1234', 'd3345dbe5e064d09a20b762f7618839e']))

{
    "actions": [
        [
            "1234",
            "Not found"
        ],
        [
            "d3345dbe5e064d09a20b762f7618839e",
            "deleted"
        ]
    ],
    "error": 0
}