Skip to main content
Get 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.

Path Parameters

type
enum<string>
required

Scope the settings are wanted for.

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

Query Parameters

filter
enum<string>
default:logged

How much of the settings to return. By default only the properties meant to be read by an ordinary user come back, which is what a client needs to run; all holds nothing back beyond the secrets, which are stripped for everybody, and is what an administration screen asks for. Asking for it without the standing to read that much is refused.

Available options:
logged,
all
Example:

"logged"

merge
boolean
default:false

Whether to answer with the settings as they end up applying, everything the scope inherits from above it included, rather than with what is stored at this one scope on its own.

Example:

false

name
string

Who within that scope - the username for a user, otherwise the identifier of the group, of the role's group or of the organization. The tenant is the one scope that needs none, being the only one of its kind; every other scope has to say who it means.

Example:

"john.doe@example.com"

Response

Returns the settings of the scope.

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.