Bids
DELETE
bids/{bidId}/private-attachments/{attachmentId}
Removes the link between a private attachment and the bidder group for this bid. The bidder group is determined by the bidId. The stored attachment file is not deleted.
204— The link was removed.404— No such private attachment link exists for this bid.403— The user does not have permission to modify the project.
Resource Information
| Method and URI | DELETE https://developer.api.autodesk.com/construction/buildingconnected/v2/bids/{bidId}/private-attachments/{attachmentId} |
| Authentication Context | User context required |
| Required OAuth Scopes | data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a three-legged access token obtained via an Authorization Code flow. |
* Required
Request
URI Parameters
| bidId string | The unique ID of the bid. |
| attachmentId string | The ID of a file that’s attached to a bid proposal. |
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/bids/:bidId/private-attachments/:attachmentId' \
-X 'DELETE' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
204 No Content