Delete a Task Duration by id
DELETE
products/{productId}/operations/{operationId}/task-durations/{taskDurationId}
Delete the identified Task Duration record.
Resource Information
| Method and URI | DELETE https://api.aps.autodesk.com/fusion-operations/v2/products/{productId}/operations/{operationId}/task-durations/{taskDurationId} |
| Authentication Context | No security required |
| Required OAuth Scopes | data:read data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | JWT Access Token |
* Required
Request
URI Parameters
| productId int | Unique identifier of the Product. |
| operationId int | Unique identifier of the Operation. |
| taskDurationId int | id of the Task Duration to delete. |
Response
HTTP Status Code Summary
| 204 No Content | Task duration deleted successfully. |
| 401 Unauthorized | The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request. |
| 403 Forbidden | The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request. |
| 404 Not Found | The resource in the path does not exist. |
| 429 Too Many Requests | Rate limit exceeded; wait some time before retrying. |
| 500 Internal Server Error | An unknown server-side error occurred. Please try again later. If the problem persists, please contact support. |
Response
Header (429)
| Retry-After integer | The number of seconds to wait before retrying the request. |
Response
Body Structure (204)
Response for 204 has no body.
Example
Task duration deleted successfully.
Request
curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/products/:productId/operations/:operationId/task-durations/:taskDurationId' \
-X 'DELETE' \
-H 'Authorization: '
Response
204 No Content