- URL:
- https://<root>/system/content/languages/remove
- Methods:
POST
- Required Capability:
- Access allowed with either the "Security and Infrastructure" or "Organization Website" privileges
- Version Introduced:
- 11.2
Description
The remove
operation disables currently enabled languages for your organization. Once disabled, the language's related content will no longer be accessible to users in your organization and will be listed as disabled (false
) in the Languages resource response. Disabled languages can be reenabled using the Add operation.
Request parameters
Parameter | Details |
---|---|
| A comma-separated list of language codes for the languages that will be disabled. Example
|
| The response format. The default format is Values: |
Language codes
Supported language | Code value |
---|---|
(عربي) |
|
(Bosanski) |
|
(Български) | Support added at 11.0
|
(Català) |
|
(Hrvatski) |
|
(čeština) |
|
(Dansk) |
|
(Nederlands) |
|
|
|
(Eesti) |
|
(Suomi) |
|
(Français) |
|
(Deutsch) |
|
(Ελλάδα) |
|
(עברית) |
|
(Magyar) |
|
(Bahasa Indonesia) |
|
(Italiano) |
|
(日本語) |
|
(한국어) |
|
(Latviešu) |
|
(Lietuvių) |
|
(Norsk) |
|
(Polski) |
|
(Português [Brasil]) |
|
(Português [Portugal]) |
|
(Română) |
|
(Русский) |
|
(Русский) |
|
(简体中文) |
|
(Slovenčina) |
|
(Slovenščina) |
|
(Español) |
|
(Svenska) |
|
(ไทย) |
|
(繁體中文 [香港]) |
|
(繁體中文 [台灣]) |
|
(Türkçe) |
|
(Україна) |
|
(Tiếng Việt) |
|
Example usage
The following is a sample POST request for the remove
operation:
POST /context/system/content/languages/remove HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
languages=fr,de&f=pjson&token=2_rhuKYscE2aGu0r3ahArn8_oBm5z8IX2IRG1k1IXADB_15HTbfiD596lRerwRwm_cvnRdHKvE3YCi9aGu0qg7-3t1EnlA5RQ4oGD3WEk7IQjYMkL_jjUy2oU7B8WdfP1kpEmm4FD2-xIeLJIhJmtB8Jhfo7JxzlMaAlG1SQuz6Ej3zvCTNjQakeqr16UeECOV47Zh808CQvVgZKfDDqprcI8UdlTl4AsH4qgV0FCCVYPJK8ZF_-aZiJj0kI6dxk
JSON Response example
{"status": "success"}