This endpoint allows you to delete a language from your system, provided it is not currently set as the default language.
Send a DELETE request to the language endpoint with the language ID in the URL path:
DELETE /api/languages/3/
Status Code | Description |
---|---|
204 No Content |
The language has been deleted successfully. |
400 Bad Request |
The language couldn't be deleted (e.g., it's the default language). |
404 Not Found |
The specified language doesn't exist. |