Docs
Delete Schedule Block
DELETE /procurement-resources/{resourceId}/schedule-blocks/{blockId}
DELETE
/procurement-resources/{resourceId}/schedule-blocks/{blockId}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 block. Advance requests linked to it are unlinked, not deleted.
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 |
|---|---|---|---|
| resourceId | Guid | Required | The need (procurement resource). |
| blockId | Guid | Required | The schedule block. |
Response
200 OK with [{ id, name, versionNumber }]: orders a revision was minted on because this edit changed what a sent order covers. Empty when none.
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Need or block not found. |