Delete Site Language Override
DELETE/v1/languages/overrides/site/:lang_code/:id
Delete the Site Language Override with a specific ID.
Content-language IDs are numeric. Override IDs are constants matching [A-Z0-9_]+. The override write field is override, whereas responses use value. Override routes are generated for installed languages.
Saving an override reads app and lang_code from POST input. For POST, the API application puts route parameters into that input. For PATCH, route parameters are placed in the general input, so the client/language context is not guaranteed by the route and JSON body alone. Use the administrator override editor if PATCH cannot preserve the intended context.
Content-language lists use standard pagination. Override lists and string searches do not use the generic page[offset] and page[limit] slicing; check the operation-specific response. 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.