Skip to main content
Write the settings of one scope

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
data
object
required

Configuration this document sets at its scope. Only what differs has to be listed - reading settings merges every scope over the application's own defaults, so a property left out keeps the value of the next wider scope.

type
enum<string>
required

Scope the settings apply at, which decides both how far they reach and what name refers to. A user's effective settings are assembled from all the scopes, the narrower one overriding the wider.

Available options:
tenant,
organization,
role,
group,
user
name
string

Entity the settings belong to at the given type - the username for user settings, the name of the group, role or organization for the wider scopes. Tenant settings cover the whole workspace and carry no name.

Response

Returns the settings of the scope as they now stand.

data
object
required

The settings themselves. What of them is returned depends on the caller: secrets are always taken out, whole areas that only an administrator has any business seeing are dropped for everybody below that, and beyond that only the properties the chosen filter admits come back. A property that is simply absent from the answer is therefore not necessarily unset.

type
enum<string>
required

Scope the settings were read at.

Available options:
tenant,
organization,
role,
group,
user
name
string

Who the settings belong to, read according to their type - the username for a user, otherwise the identifier of the group, of the role's group or of the organization. It is not there for the settings of the tenant itself, which is the one scope there is only one of.