This endpoint allows you to permanently remove a block from your Venddor store. Use this operation with caution as deleted blocks cannot be recovered.
Parameter | Type | Required | Description |
---|---|---|---|
block_id | integer | Yes | The unique identifier of the block you want to delete. |
DELETE /api/blocks/42
This request deletes the block with ID 42.
Status Code | Description |
---|---|
204 No Content |
The block has been deleted successfully. |
404 Not Found |
The specified block doesn't exist. |
When using the Delete Block endpoint, consider the following best practices: