Bid Packages
POST
bid-packages:batch-delete
Deletes multiple bid packages. The requesting user must be a member of the project team, and the bid package’s state
field must be set to DRAFT
.
Note that PUBLISHED
bid packages cannot be deleted.
Max 100 bid packages per call.
Resource Information
Method and URI | POST https://developer.api.autodesk.com/construction/buildingconnected/v2/bid-packages:batch-delete |
Authentication Context | user context required |
Required OAuth Scopes | data:write |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained via a three-legged OAuth flow. |
Content-Type* string | Must be application/json |
* Required
Request
Body Structure
The bid packages ids to delete. Max 100 bid packages per call.
[ ] array:string |
Response
HTTP Status Code Summary
204 No Content | No Content |
400 Bad Request | The parameters of the requested operation are invalid. |
401 Unauthorized | The provided bearer token is not valid. |
403 Forbidden | The user or service represented by the bearer token does not have permission to perform this operation. |
404 Not Found | The requested resource could not be found. |
429 Too Many Requests | Rate limit exceeded; wait some time before retrying. The ‘Retry-After’ header might provide the amount of the time to wait. |
500 Internal Server Error | An unknown error occurred on the server. |
Response
Body Structure (204)
Response for 204 has no body.
Example
No Content
Request
curl -v 'https://developer.api.autodesk.com/construction/buildingconnected/v2/bid-packages:batch-delete' \
-X 'POST' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \
-H 'Content-Type: application/json' \
-d '[
"590dd127b359f408f190b5a7"
]'
Response
204 No Content