/sys/config/ui
The /sys/config/ui
endpoint is used to configure UI settings.
sudo
required – All UI endpoints requiresudo
capability in addition to any path-specific capabilities.
Read UI settings
This endpoint returns the given UI header configuration.
GET
/sys/config/ui/headers/:name
Parameters
name
(string: <required>)
– The name of the custom header.multivalue
(bool: <optional>)
- Returns multiple values if true.
Sample request
Sample response
Sample request (Multi value)
Sample response
Configure UI headers
This endpoint allows configuring the values to be returned for the UI header.
POST
/sys/config/ui/headers/:name
Parameters
name
(string: <required>)
– The name of the custom header.values
(list: <required>)
- The values to be returned from the header.
Sample payload
Sample request
Delete a UI header
This endpoint removes a UI header.
DELETE
/sys/config/ui/headers/:name
Sample request
List UI headers
This endpoint returns a list of configured UI headers.
LIST
/sys/config/ui/headers
Sample request
Sample response
Last updated