Appearance
Set language or theme
About 143 wordsLess than 1 minute
apiUser Settings
2025-05-19
MethodPOST
Request URL
/plugin/datafor-modeler/api/user-settings/displayAuthorization
 Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Typeapplication/json
Request Example
[
  {
    "id": "language",
    "value": "en"
  },
  {
    "id": "theme",
    "value": "light"
  }
]Request Schema
| Name | Location | Type | Required | Description | 
|---|---|---|---|---|
| body | body | array[object] | no | none | 
| ├── id | body | string | yes | The setting ID (e.g., language,theme) | 
| ├── value | body | string | yes | The value for the setting (e.g., en,light) | 
Response Examples
{
  "success": true
}HTTP Responses
| HTTP Status Code | Meaning | Description | Data schema | 
|---|---|---|---|
| 200 | OK | The request was successful. | Inline | 
Response Data Schema (HTTP 200)
| Name | Type | Required | Restrictions | Description | 
|---|---|---|---|---|
| success | boolean | Yes | none | Whether the operation was successful. |