Docs

Delete Resource

DELETE /procurements/{procurementId}/resources/{resourceId}

DELETE/procurements/{procurementId}/resources/{resourceId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **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

FieldTypeRequiredDescription
procurementIdGuidRequiredThe procurement.
resourceIdGuidRequiredThe need (procurement resource).

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400The need is a composite's component.
404Procurement or need not found.