Delete Site Module
DELETE/v1/modules/site/:id
Delete the Site Module with a specific ID.
Site routes set client_id=0; administrator routes set client_id=1. /modules/types/{client} lists types, not instances. Select the parameter schema by type and client rather than instance ID alone. An empty assignment set does not automatically mean all pages: specify the assignment mode. Third-party module forms can add parameters.
Module instance lists use standard pagination, while the module-type endpoints return the retrieved type list without generic page slicing. The base edit check requires core.manage and record core.edit, or core.edit.own with a matching owner; component overrides take precedence. Omitted SERVER_UTC/USER_UTC calendar values are restored from the stored UTC values after validation, avoiding a second timezone conversion.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 406
- 409
- 500
Deleted; no response body is required.
Invalid parameters, form validation or save failure.
Missing or invalid API authentication.
Access denied by ACL.
Route, record or task not found. The AdminModel session flag can instead produce a legacy application/json error envelope.
Unsupported Accept header.
The record cannot be deleted in its current state.
Model or server error.