Delete Purchase Order by id
DELETE
purchase-orders/{purchaseOrderId}
Delete the specified Purchase Order record identified by purchaseOrderId.
Resource Information
| Method and URI | DELETE https://api.aps.autodesk.com/fusion-operations/v2/purchase-orders/{purchaseOrderId} |
| 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
| purchaseOrderId int | Unique identifier of the Purchase Order to delete. |
Response
HTTP Status Code Summary
| 204 No Content | Purchase Order deleted successfully. No content returned. |
| 400 Bad Request | Dependency Error, the requested operation cannot be completed due to existing dependencies. |
| 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
Purchase Order deleted successfully. No content returned.
Request
curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/purchase-orders/:purchaseOrderId' \
-X 'DELETE' \
-H 'Authorization: '
Response
204 No Content