Docs
Delete Resource
DELETE /procurements/{procurementId}/resources/{resourceId}
DELETE
/procurements/{procurementId}/resources/{resourceId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Removes a need. Deleting a composite parent removes its component needs with it; a component need can't be removed on its own.
Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| procurementId | Guid | Required | The procurement. |
| resourceId | Guid | Required | The need (procurement resource). |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | The need is a composite's component. |
| 404 | Procurement or need not found. |