Delete a job
DELETE
queues/{queueId}/jobs/{jobId}
Delete the specified job. Job related data is expected to be physically deleted within 30 days of its creation.
Resource Information
Method and URI | DELETE https://developer.api.autodesk.com/flow/compute/v1/queues/{queueId}/jobs/{jobId} |
Authentication Context | user context optional |
Required OAuth Scopes | No scopes required |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained via either a two-legged or three-legged OAuth flow. |
region string | The region targeted by the request. The usage of this header is recommended for faster processing. The region specified must match the region in which the targeted job queue was created or else the request will fail. |
* Required
Request
URI Parameters
queueId string | The queue ID. Use the special ID @default to indicate the default queue for the user or client app. |
jobId string | The job ID |
Response
HTTP Status Code Summary
202 Accepted | ACCEPTED |
400 Bad Request | Bad request - indicates an incorrectly structure or otherwise incorrect request. |
401 Unauthorized | Unauthorized - credentials are invalid or not provided in the request |
403 Forbidden | Forbidden - the user or client does not have the required privileges to access this resource |
404 Not Found | The specified resource was not found |
Response
Body Structure (202)
Response for 202 has no body.
Example
This example delete a job.
Request
curl -v 'https://developer.api.autodesk.com/flow/compute/v1/queues/@default/jobs/dcd0b895-e3ab-4b54-96f6-35d7b4d7bb5d' \
-X 'DELETE' \
-H 'Authorization: Bearer eyJhbG...' \
Response
{
}