Appearance
Delete
Delete a Single Record
http
DELETE /api/{entity}/{id}Example:
http
DELETE /api/product/AB-001Response: 204 No Content
Returns 404 Not Found if the record does not exist.
Bulk Delete
Delete multiple records in a single request by passing their IDs as query parameters.
http
DELETE /api/{entity}?id={id1}&id={id2}&id={id3}Example:
http
DELETE /api/product?id=AB-001&id=AB-002&id=AB-003Response: 204 No Content
TIP
Bulk delete uses the same delete authority as single delete. No additional permissions are required. See RBAC.
Events
Both single and bulk deletes publish a SquizyEntityAccessEvent after the operation. For bulk deletes, all affected entities are included in the event's values list. See Events.
Access Control
Requires the delete authority for the entity. See RBAC.