schedules

Remove a schedule block

Remove one dayparting block from a schedule.

Removes the block (a hard delete of the child row) and re-packs positions.

Notes.

  • The returned schedule is composed from the row read BEFORE the edit, so approvalState / updatedAt can lag the edit by one read (the blocks are current).
  • An unknown blockId is not an error: the route answers 200 with the unchanged schedule.
delete/v1/schedules/{id}/blocks/{blockId}

Request

  • Base URL: https://api.brixsignage.com
  • URL: https://api.brixsignage.com/v1/schedules/{id}/blocks/{blockId}
  • Auth: HTTP bearer

Path parameters

idstring required

Schedule id.

blockIdstring required

Block id.

Response

Success.

Example response

{
  "data": {
    "id": "sch_6f7a8b9c0d1e2f3a",
    "blocks": [
      {
        "id": "sb_3c4d5e6f7a8b9c0d"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.