Docs/API Reference/Unit Blocks & Group Holds

Remove a unit block: its units go back on sale

Unit Blocks & Group Holds · DELETE /v1/unit-blocks/:id

Remove a unit block: its units go back on sale

DELETE/v1/unit-blocks/:id

Note

Removed in the PMS first, then here. A block the PMS no longer has is removed here too. 422 pms_write_unsupported where the provider cannot remove blocks; 409 pms_writes_off when the connection's write policy turns API writes off. Guide: /docs/multi-unit#unit-blocks

Request

curl -X DELETE https://api.repull.dev/v1/unit-blocks/17961907985432547 \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{ "id": "17961907985432547", "deleted": true }
AI