Job: delete
Please take into consideration: stopping the job can take some time.
Request
HTTP request
DELETE /job/v1/<jobId> HTTP/1.1
Parameters
Paramete name | Value | Description |
---|---|---|
Path parameters | ||
jobId | String | ID of job |
Request Body
This method does not support request body.
Response
This method does not contain response body.
Response HTTP status code
HTTP status code | Description |
---|---|
204 | Job exists |
404 | Job does not exist |
For more information about HTTP codes, click here.
Rate limit
Detailed information for cloud rate limitation is available on Shardimage developers.
SDK
use shardimage\shardimagephp\auth\Client;
$client = new Client([
'apiKey' => '<apiKey>',
'apiSecret' => '<apiSecret>',
'imageSecret' => '<imageSecret>',
]);
$result = $client->getJobService()->delete('<jobId>');