Skip to main content

GraphQL reference: user-management

Generated from the schema this service serves, so it cannot fall behind it. The same schema is published as a file for tools and agents.

Endpointhttps://<your-host>/api/user-management/graphql
Auth planetenant — The ordinary application plane. Obtain a tenant access token by calling login then selectTenant on user-management, and authorize each call with the capability it names (for example device:write).
Authorize withtenant access token
Schema file/schema/user-management.graphql
Described336 of 336 elements
Notelogin and refresh take no token — this is where a tenant access token comes from. Every other field on this schema requires one.

Queries​

functionalAreas · identityMemberships · invitations · me · member · members · mfaStatus · ping · serviceAccount · serviceAccountTokenEndpoint · serviceAccounts · tenant · tenantAuthorities · tenantGovernance · tenantRoles · tenantTokens · tokenMasks

functionalAreas​

The names of the functional areas deployed on this instance, so a client can tell a feature that was never deployed from a server that is failing. It reports what the operator enabled, not whether each area is healthy: an area that is enabled but down still appears. Requires only a signed-in caller.

Returns [String!]!

identityMemberships​

The identity's tenant memberships as of now, with its roles in each, including any that are disabled or in a tenant that is disabled or being deleted; selectTenant refuses those. It takes the identity token returned by login, so it works before any tenant is selected and needs no Authorization header; use it to refresh a tenant picker after memberships change without logging in again. Fails with "invalid or expired token" if the identity token is expired, malformed, or from a session that has since ended (for example after a password reset or the account being disabled).

Returns [Membership!]!

ArgumentTypeDescription
identityTokenString!The identity token from login.

invitations​

One page of this tenant's invitations, newest first. Requires member:read.

Returns InvitationSearchResults!

ArgumentTypeDescription
criteriaInvitationSearchCriteria!Paging.

me​

The user the access token belongs to. Fails with an authentication error if the request carries no valid access token.

Returns CurrentIdentity!

member​

One member of this tenant by email. An email that is not a member of this tenant fails with the error code NOT_FOUND, whether or not an account with that email exists. Requires member:read.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.

members​

One page of this tenant's members, with their roles, scope and status. Requires member:read. Refused (error code FORBIDDEN) for a member whose access is limited to part of the tenant.

Returns MemberSearchResults!

ArgumentTypeDescription
criteriaMemberSearchCriteria!Filters and paging.

mfaStatus​

The identity's own second-factor status. It takes the identity token returned by login (or verifyMfa), so it works before any tenant is selected. Fails with "invalid or expired token" if the token is expired, malformed, or from a session that has ended.

Returns MfaStatus!

ArgumentTypeDescription
identityTokenString!The identity token from login.

ping​

Liveness check. Always returns the string "pong". Needs no token.

Returns String!

serviceAccount​

One service account of this tenant by token. A token that names no service account of this tenant fails with the error code NOT_FOUND. Requires member:read.

Returns ServiceAccount!

ArgumentTypeDescription
tokenString!Token of the service account.

serviceAccountTokenEndpoint​

The OAuth token endpoint service accounts obtain their tokens from, or null when this instance has no OAuth issuer configured, in which case service accounts cannot obtain tokens. Requires member:read.

Returns String

serviceAccounts​

One page of this tenant's service accounts, ordered by token. Requires member:read. Refused (error code FORBIDDEN) for a member whose access is limited to part of the tenant.

Returns ServiceAccountSearchResults!

ArgumentTypeDescription
criteriaServiceAccountSearchCriteria!Paging.

tenant​

The tenant the caller is currently acting within, as named by their access token. Fails with an authentication error if the request carries no tenant access token. Needs no authority beyond being signed in to the tenant.

Returns Tenant!

tenantAuthorities​

The authorities a role defined in this tenant may grant, sorted, including * (every tenant authority). A role may grant only those of them that the person defining it holds. Requires role:read. Refused (error code FORBIDDEN) for a member whose access is limited to part of the tenant.

Returns [String!]!

tenantGovernance​

The limits that apply to the tenant of the current request, for the services that enforce them. The tenant comes from the access token, or from the tenant a service names when it calls with a service token. Fails if that tenant does not exist. Requires tenant:read, an instance-level authority that tenant users do not hold.

Returns TenantGovernance!

tenantRoles​

The roles that can be assigned in this tenant: the instance roles (owner INSTANCE) and the roles this tenant defined (owner TENANT). Requires role:read.

Returns [TenantRole!]!

tenantTokens​

The token of every tenant on the instance. Returns tokens only, not tenant records. Requires tenant:read, which only an instance-level caller holds, so a tenant user, including one with every tenant authority, cannot list tenants.

Returns [String!]!

tokenMasks​

The entity token masks as a JSON object serialized to a string: it maps an entity type (or "default") to the mask template used to generate tokens for new entities of that type. A template is literal text plus the placeholders {slug}, {uuid}, {alphanumeric-N} and {numeric-N}. Masks apply to the create forms in the console; the server accepts any token that satisfies the general token format. Requires only a signed-in caller. The same masks are served on the settings API.

Returns String!

Mutations​

acceptInvitation · beginSso · beginSsoLink · beginTotpEnrollment · completeSso · confirmTotpEnrollment · createServiceAccount · createTenantRole · deleteServiceAccount · deleteTenantRole · disableTotp · inviteMember · login · logout · refresh · regenerateRecoveryCodes · reissueInvitation · removeMember · revokeInvitation · rotateServiceAccountSecret · selectTenant · setMemberAccess · setMemberEnabled · setMemberRoles · setMemberScope · setServiceAccountAccess · setServiceAccountEnabled · setTenantBasemap · setTenantBranding · setTenantLocale · setTenantLogo · setTenantMfaRequired · updateProfile · updateTenantRole · verifyMfa

acceptInvitation​

Accepts an invitation and returns what login returns: an identity token and the tenants the identity may enter, the new one among them. Needs no token. Give exactly one of: password, to create the password of a new account the invitation was issued to; or identityToken, from signing in to an existing account, which must be the account the invitation was issued to. A tenant that requires single sign-on refuses password with the error code SSO_REQUIRED: sign in through the identity provider and accept with the identity token. Every way the code cannot be used (unknown, expired, revoked, already used, or presented for another account) fails with the one error code INVALID_INVITATION.

Returns IdentityAuth!

ArgumentTypeDescription
codeString!The invitation code.
identityTokenStringThe identity token of an existing account, from login or completeSso.
passwordStringThe password to set on a new account.

beginSso​

Starts a single sign-on through an external identity provider. Give either the person's email (the connection is the one that speaks for its domain) or a connection token. Returns where to send the browser, or null when an email's domain has no single sign-on connection that is enabled and approved, in which case sign in some other way. returnTo must be this instance's own /login/sso/complete or /dash/sso/complete address. codeChallenge is the SHA-256 of a random secret you keep in the browser, base64url-encoded without padding (43 characters); completeSso needs that secret, so only the browser that began the sign-in can finish it. Needs no token. Fails with "single sign-on is not available" when the instance, or a connection named by token, is not set up for it, and is rate limited per source address.

Returns SsoBegin

ArgumentTypeDescription
codeChallengeString!Base64url SHA-256 of the secret only this browser holds.
connectionStringToken of the connection to use. Give this or email.
emailStringThe person's email address, to find their connection by domain. Give this or connection.
returnToString!Where the provider's answer sends the browser back to: this instance's own completion page.

Starts linking the signed-in person's own account at an external identity provider to their identity, so they can sign in through it afterwards. The connection is not named by the caller: it is the tenant connection whose verified domain is the identity's own email domain, and it must be enabled and approved. Needs the identity token of a PASSWORD sign-in, and the provider must report the identity's own email address. Returns where to send the browser; the provider then returns to returnTo with linked=1, or with error= set to link_email_mismatch (the provider reported a different address), link_unverified_email (the provider did not vouch for the address), link_session_ended (the password sign-in ended first), link_already_linked (the provider account or this identity is already linked), link_not_allowed, or a sign-in's own idp_error or refused. Each refusal here carries extensions.code: SSO_LINK_SESSION_REQUIRED (the identity token is invalid or expired, or its sign-in ended: sign in with the password again), SSO_LINK_PASSWORD_REQUIRED (the sign-in came through a provider), SSO_LINK_NOT_ALLOWED (the identity holds a system role), SSO_LINK_NO_CONNECTION (no enabled, approved tenant connection serves the email domain) or SSO_LINK_ALREADY_LINKED. Rate limited per source address.

Returns SsoBegin!

ArgumentTypeDescription
identityTokenString!The identity token from a password login.
returnToString!Where the provider's answer sends the browser back to: this instance's own completion page.

beginTotpEnrollment​

Starts setting up an authenticator app. Returns the new shared secret as an otpauth:// URI and as base32, once; nothing changes about how the account signs in until confirmTotpEnrollment proves the app holds it. Starting again replaces an unconfirmed enrolment, which expires after ten minutes. Needs no Authorization header: the identity token is the argument. The password is re-checked, because identity tokens travel; a wrong one fails with "invalid credentials" and changes nothing. Fails with MFA_ALREADY_ENROLLED while an authenticator is active.

Returns TotpEnrollment!

ArgumentTypeDescription
identityTokenString!The identity token from login or verifyMfa.
passwordString!The account's password, re-checked.

completeSso​

Finishes a single sign-on. After the provider sends the browser back to the returnTo address with a code in its query, call this with that code and the secret whose hash you gave to beginSso. Returns what login returns: an identity token and the tenants it may enter (only the tenants the connection serves), to be chosen with selectTenant. Needs no token. Each code works once, for one minute; fails with "invalid or expired sign-in code" for a code that is unknown, used, expired or not matched by the secret.

Returns IdentityAuth!

ArgumentTypeDescription
codeString!The code from the return address.
codeVerifierString!The secret whose SHA-256 you gave to beginSso.

confirmTotpEnrollment​

Finishes setting up the authenticator: proves it holds the secret by presenting its current code, turns the second factor on, and returns ten recovery codes, once. Turning it on ends every session the account had, including the one that enrolled (the identity token passed here stops working); the answer carries a fresh sign-in, with amr recording the code just presented, so the caller carries on without signing in again. The password is re-checked. Five wrong codes cancel the pending enrolment.

Returns TotpEnrollmentResult!

ArgumentTypeDescription
codeString!The current six-digit code from the authenticator.
identityTokenString!The identity token from login or verifyMfa.
passwordString!The account's password, re-checked.

createServiceAccount​

Creates a service account in this tenant with its first client secret, which the answer carries and nothing can read again. Requires member:write. Every role must grant only authorities you hold (error code ESCALATION otherwise). A tenant holds at most 200 service accounts. Fails with CONFLICT when the token is taken.

Returns ServiceAccountCredentials!

ArgumentTypeDescription
requestServiceAccountCreateRequest!The service account to create.

createTenantRole​

Defines a role for this tenant and returns it. Fails with ESCALATION if an authority is not a tenant authority or is one you do not hold, CONFLICT if the token is taken, and INVALID_VALUE for an unknown authority. Requires role:write.

Returns TenantRole!

ArgumentTypeDescription
requestTenantRoleCreateRequest!The role to define.

deleteServiceAccount​

Deletes a service account and all its secrets. Tokens already issued stay valid until they expire, at most 5 minutes. Returns false when there was no such account. Requires member:write and every authority the account holds.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the service account.

deleteTenantRole​

Deletes a role this tenant defined. Returns true if one was deleted and false if there was no such role. Fails with REFERENCE_VIOLATION while a member holds it, READ_ONLY for an instance role, and ESCALATION if it grants an authority you do not hold. Requires role:write.

Returns Boolean!

ArgumentTypeDescription
tokenString!Token of the role.

disableTotp​

Turns the second factor off: removes the authenticator, the recovery codes and the stored secret, and ends every session the account has (including this one), so the person signs in again with the password alone. Needs the password AND a code (an authenticator code or a recovery code). Returns true. Fails with MFA_NOT_ENROLLED if two-factor authentication is not set up.

Returns Boolean!

ArgumentTypeDescription
codeString!An authenticator code or a recovery code.
identityTokenString!The identity token from login or verifyMfa.
passwordString!The account's password, re-checked.

inviteMember​

Invites a person into this tenant with the given roles and scope, and returns the new member with a one-time invitation code. The membership stays disabled until the code is accepted. The answer is the same whether or not the person already has an account. Fails with the error code CONFLICT if they are already a member, ESCALATION if a role grants an authority you do not hold, NOT_FOUND if a role token is not assignable here, INVALID_VALUE for a scope anchor whose token is not valid, and LIMIT_EXCEEDED for more than 16 scope anchors. Requires member:write.

Returns MemberInvitation!

ArgumentTypeDescription
requestInviteMemberRequest!The person to invite.

login​

Signs in with an email address and password. Returns an identity token and the tenants the identity may enter; call selectTenant next to obtain a tenant-scoped session. Needs no token. Fails with "invalid credentials" for an unknown email, a wrong password or a disabled account, without saying which. Repeated failures for one email are slowed down, and a request that is throttled or exceeds its allowance of password checks is refused without checking the password.

An account with two-factor authentication turned on does not get a token from the password alone. When its password is right, login fails with the error code MFA_CHALLENGE and carries challenge (an opaque handle), expiresAt (RFC 3339, five minutes out) and methods (TOTP, RECOVERY_CODE) in the error's extensions. Send the challenge and a code to verifyMfa to finish signing in. The error means the password was right; it is the only thing login reveals about the account, and nothing is issued until the code is accepted. A client that does not handle it reports an error rather than receiving a token.

Returns IdentityAuth!

ArgumentTypeDescription
emailString!Email address of the account. Case and surrounding whitespace are ignored.
passwordString!The account's password.

logout​

Signs out: ends the sign-in the token belongs to, and from that moment refuses its exchanges. Refresh tokens minted from this sign-in, in any tenant, no longer refresh; its identity token can no longer select a tenant; and OAuth grants authorized during this sign-in no longer refresh. The MCP authorization page signs in on its own, so a grant made there is not ended by signing out of the console: it ends when that sign-in runs out (7 days by default). Access tokens and identity tokens already issued, including on the admin API, are not recalled and stay valid until they expire, at most 15 minutes by default. Other sign-ins of the same account, on other devices or browsers, are not affected; to end all of them, reset the password or disable the account. Needs no Authorization header. Safe to repeat, and a token that has expired still ends its sign-in. Fails with "invalid or expired token" for a token this instance did not sign or that names no sign-in, and with a retryable error, leaving the sign-in open, if the sign-out could not be recorded.

With returnTo, the answer also says where to send the browser to sign out at the identity provider, when the sign-in came through single sign-on and its connection is set to sign people out there too; otherwise that address is null and the sign-out is complete. The sign-in here has ended either way: the provider is never contacted by this call, so it cannot make it fail.

Returns SignOut!

ArgumentTypeDescription
returnToSignOutReturnThe app to come back to after signing out at the identity provider. Leave it out to sign out of this platform only.
tokenString!A refresh token from selectTenant or refresh, or the identity token from login.

refresh​

Exchanges a refresh token for a new access and refresh pair, and consumes the refresh token: each one can be used once. The roles and authorities in the new tokens are read afresh, so a change to the user's role or membership applies from the next refresh. Needs no Authorization header. Fails with "invalid or expired token" if the refresh token is expired, already used, or belongs to a session that has ended or a membership or tenant that is no longer allowed in. If the tenant has started requiring single sign-on and the session came from a password sign-in, the error carries the code SSO_REQUIRED and the refresh token is consumed: sign in through the identity provider. If the failure is temporary the error says the session could not be refreshed right now and the same refresh token remains usable.

Returns AuthToken!

ArgumentTypeDescription
refreshTokenString!The refresh token from selectTenant or an earlier refresh.

regenerateRecoveryCodes​

Replaces the account's recovery codes with a new set of ten and returns them once. Needs the password AND a code (an authenticator code or an unused recovery code), so a stolen identity token is not enough. Fails with MFA_NOT_ENROLLED if two-factor authentication is not set up.

Returns RecoveryCodes!

ArgumentTypeDescription
codeString!An authenticator code or a recovery code.
identityTokenString!The identity token from login or verifyMfa.
passwordString!The account's password, re-checked.

reissueInvitation​

Revokes a member's open invitation, if any, and issues a new code, valid for 7 days. Fails with NOT_FOUND if the member has already joined. Requires member:write.

Returns MemberInvitation!

ArgumentTypeDescription
emailString!Email of the member.

removeMember​

Removes a member from this tenant, and their open invitation with them; their account is kept. Takes effect at the member's next token refresh, as disabling them does. Returns true. Fails with the same error codes as setMemberRoles. Requires member:write.

Returns Boolean!

ArgumentTypeDescription
emailString!Email of the member.

revokeInvitation​

Revokes a member's open invitation so its code stops working, and returns the member, who stays disabled. Fails with NOT_FOUND if no invitation of theirs is waiting to be accepted. Requires member:write.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.

rotateServiceAccountSecret​

Creates a new client secret for a service account and returns it, the only time it can be read. The secret it replaces keeps working for overlapHours (0 to 168, default 24) so the integration can switch over, then stops; any older secret still working stops at once. Requires member:write and every authority the account holds.

Returns ServiceAccountCredentials!

ArgumentTypeDescription
expiresInDaysIntDays until the new secret expires: 1 to 730. Defaults to 365.
overlapHoursIntHours the previous secret keeps working: 0 to 168. Defaults to 24.
tokenString!Token of the service account.

selectTenant​

Exchanges an identity token for a session in one tenant. The identity must have an enabled membership in an enabled tenant; a superuser may enter any tenant. Needs no Authorization header, since the identity token is the argument. Fails with "invalid or expired token" if the identity token is expired or from a session that has ended, and with "invalid credentials" if the identity may not enter that tenant. A member whose tenant requires single sign-on (Membership.ssoRequired) and who signed in with a password is refused with the error code SSO_REQUIRED instead; a non-member never sees that code.

Returns AuthToken!

ArgumentTypeDescription
identityTokenString!The identity token returned by login.
tenantString!Token of the tenant to enter.

setMemberAccess​

Replaces a member's roles and the customers and groups they are limited to in one step, and returns the member: both change or neither does. Use it instead of calling setMemberRoles and setMemberScope in turn, which can leave the roles changed when the scope is refused. The change takes effect at the member's next token refresh, as setMemberRoles describes. Fails with the error codes of setMemberRoles, plus INVALID_VALUE for an anchor whose token is not valid, and LIMIT_EXCEEDED for more than 16 anchors. Requires member:write.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.
roleTokens[String!]!Tokens of the roles the member should hold.
scope[ScopeAnchorInput!]!The customers and groups to limit the member to; empty for the whole tenant.

setMemberEnabled​

Enables or disables a member and returns the member. Disabling takes effect at the member's next token refresh, which is refused for this tenant (within 15 minutes; 5 for customer-scoped access); their sessions in other tenants are not affected. A member whose invitation is still pending cannot be enabled (error code INVALID_VALUE): reissue or revoke the invitation. Fails with the same error codes as setMemberRoles. Requires member:write.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.
enabledBoolean!True to enable, false to disable.

setMemberRoles​

Replaces a member's roles with exactly those given and returns the member. The change, adding or taking away authorities, takes effect at the member's next token refresh (within 15 minutes; 5 for customer-scoped access): an access token already issued keeps its old authorities until it expires, and the member's sessions in other tenants are not affected. Fails with ESCALATION (a role grants, or the member holds, an authority you do not hold), SELF_MODIFICATION (your own membership), LAST_ADMIN (it would leave nobody able to manage members), MANAGED_BY_IDP (the identity provider manages it) or NOT_FOUND. Requires member:write.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.
roleTokens[String!]!Tokens of the roles the member should hold.

setMemberScope​

Replaces the customers and groups a member is limited to and returns the member. An empty list gives them the whole tenant. The change takes effect at the member's next token refresh, as setMemberRoles does. Fails with the same error codes as setMemberRoles, plus INVALID_VALUE for an anchor whose token is not valid, and LIMIT_EXCEEDED for more than 16 anchors. Requires member:write.

Returns Member!

ArgumentTypeDescription
emailString!Email of the member.
scope[ScopeAnchorInput!]!The customers to limit the member to; empty for the whole tenant.

setServiceAccountAccess​

Replaces a service account's roles and scope. Requires member:write, and you must hold every authority the account holds now and every authority of the new roles (error code ESCALATION otherwise). Tokens already issued keep their old access until they expire, at most 5 minutes.

Returns ServiceAccount!

ArgumentTypeDescription
roleTokens[String!]!The roles the account will hold, replacing its current ones.
scope[ScopeAnchorInput!]!The account's new scope. An empty list means the whole tenant.
tokenString!Token of the service account.

setServiceAccountEnabled​

Enables or disables a service account. A disabled account cannot obtain tokens; tokens already issued stay valid until they expire, at most 5 minutes. Requires member:write and every authority the account holds.

Returns ServiceAccount!

ArgumentTypeDescription
enabledBoolean!True to enable, false to disable.
tokenString!Token of the service account.

setTenantBasemap​

Sets the map basemap of the caller's own tenant and returns the tenant with its resulting basemap. It replaces the whole basemap: any field not sent, or sent as null or a blank string, is cleared and falls back to the instance default. An invalid value rejects the whole request. Requires basemap:write, which is separate from branding:write because the tile URL may embed the tenant's own provider key.

Returns Tenant!

ArgumentTypeDescription
inputTenantBasemapInput!The basemap to apply; replaces the tenant's current basemap.

setTenantBranding​

Sets the white-label theme of the caller's own tenant and returns the tenant with its resulting branding. It replaces the whole theme: any field not sent, or sent as null, is cleared and falls back to the instance default. Colors must be #rrggbb, the title at most 64 characters, and the logo height from 16 to 200 pixels; an invalid value rejects the whole request. It does not touch the logo; use setTenantLogo. Requires branding:write.

Returns Tenant!

ArgumentTypeDescription
inputTenantBrandingInput!The theme to apply; replaces the tenant's current theme.

setTenantLocale​

Sets the default console language of the caller's own tenant and returns the tenant. Null or a blank string clears it, so the tenant falls back to the instance default. The value must be a BCP-47 language tag of at most 35 characters in the form en, es-MX, zh-Hans or zh-Hans-CN (a two- or three-letter language, an optional four-letter script, an optional two-letter or three-digit region); its case is normalized. A well-formed tag the console has no translation for is stored and takes effect once the console supports it. Requires locale:write.

Returns Tenant!

ArgumentTypeDescription
localeStringThe language tag, such as "en" or "pt-BR". Null clears it.

Sets the logo of the caller's own tenant to an image URL or an inline image, or clears it, and returns the tenant. The logo must be an https URL of at most 2048 characters, or a base64 data: URI of a PNG, JPEG or WebP image of at most 256 KiB once decoded; SVG is accepted only as an https URL. Null or a blank string clears the logo. Uploading an image file is done with a separate HTTP upload endpoint rather than this mutation, and setting or clearing the logo here discards any previously uploaded image. Requires branding:write.

Returns Tenant!

ArgumentTypeDescription
logoStringThe logo as an https URL or an inline image data URI. Null clears it.

setTenantMfaRequired​

Requires (or stops requiring) a second factor of the caller's own tenant's password sign-ins, and returns the tenant. While it is on, a member whose sign-in did not use a second factor is refused by selectTenant, refresh and the MCP authorization step (error codes MFA_REQUIRED and MFA_ENROLLMENT_REQUIRED), and password sessions already inside the tenant are refused at their next refresh. A member can always still sign in and set up their own authenticator, so turning it on strands nobody. It cannot turn off a requirement the tenant's tier sets (Tenant.mfaRequiredByTier). Requires member:write and an unscoped caller. Service accounts and single sign-on sessions are not affected.

Returns Tenant!

ArgumentTypeDescription
requiredBoolean!True to require a second factor.

updateProfile​

Changes the signed-in user's own first and last name and returns the updated user. The email cannot be changed here. Fields left out of the request keep their stored value. Requires only a signed-in caller.

Returns CurrentIdentity!

ArgumentTypeDescription
requestProfileUpdateRequest!The name changes to apply.

updateTenantRole​

Changes a role this tenant defined and returns it. Members holding it receive the change at their next token refresh, removing an authority included, as setMemberRoles describes. Fails with READ_ONLY for an instance role, NOT_FOUND for an unknown token, ESCALATION if the resulting set grants an authority you do not hold, and LAST_ADMIN if it would leave nobody able to manage members. Requires role:write.

Returns TenantRole!

ArgumentTypeDescription
requestTenantRoleUpdateRequest!The changes to apply.
tokenString!Token of the role.

verifyMfa​

Completes a sign-in that login held for its second factor, and returns what login returns: an identity token and the tenants the identity may enter. Needs no token. challenge is the handle from login's MFA_CHALLENGE error; code is a code from the authenticator app (six digits) or one of the account's recovery codes. Every token minted from this sign-in records how the person proved who they are (the amr claim: pwd, otp and mfa for an authenticator code, pwd and mfa for a recovery code).

A wrong code, a replayed code and a code refused because the account is locked all fail with the same "invalid code" error. A challenge accepts five attempts and five minutes, and one challenge signs in once; an unknown, expired, used-up or outdated challenge (the password was reset since) fails with MFA_CHALLENGE_EXPIRED: sign in again. Repeated wrong authenticator codes lock the account's authenticator for a while (recovery codes keep working), and attempts are limited per source address. One verification per request.

Returns IdentityAuth!

ArgumentTypeDescription
challengeString!The challenge from login's MFA_CHALLENGE error.
codeString!An authenticator code, or a recovery code.

Objects​

AuthToken · CurrentIdentity · IdentityAuth · Invitation · InvitationSearchResults · Member · MemberInvitation · MemberSearchResults · Membership · MfaStatus · RecoveryCodes · ScopeAnchor · SearchResultsPagination · ServiceAccount · ServiceAccountCredentials · ServiceAccountSearchResults · ServiceAccountSecret · SignOut · SsoBegin · Tenant · TenantBasemap · TenantBranding · TenantGovernance · TenantRole · TotpEnrollment · TotpEnrollmentResult

AuthToken​

object

A tenant-scoped session: a short-lived access token paired with a longer-lived refresh token. Returned by selectTenant and refresh.

FieldTypeDescription
accessTokenString!Signed JWT that authorizes tenant-scoped API requests; send it as Authorization: Bearer <token>. Valid until expiresAt.
expiresAtString!When the access token expires, as an RFC 3339 timestamp in UTC. The refresh token's own, longer expiry is not reported. The lifetimes are operator-configured; the defaults are 15 minutes for the access token and 7 days for the refresh token.
refreshTokenString!Signed JWT whose only use is to obtain a new pair through the refresh mutation. It is single-use: refreshing consumes it and returns a new one.

CurrentIdentity​

object

The signed-in user, as shown in the console.

FieldTypeDescription
emailString!The user's email address, which is their sign-in name and cannot be changed.
firstNameStringThe user's first name. Null when none has been set.
lastNameStringThe user's last name. Null when none has been set.
scope[ScopeAnchor!]!The customers the signed-in member is limited to in the current tenant. Empty when they see the whole tenant.

IdentityAuth​

object

The result of a successful email and password login: an identity token that is not yet tied to any tenant, and the identity's memberships. Pass the identity token and a chosen tenant to selectTenant to obtain a tenant-scoped AuthToken.

FieldTypeDescription
expiresAtString!When the identity token expires, as an RFC 3339 timestamp in UTC. It lives as long as a tenant access token (15 minutes by default, operator-configured).
identityTokenString!Signed JWT proving who the caller is, valid across the instance rather than within one tenant. It is accepted by selectTenant, identityMemberships and the instance-level administration endpoints, and is not accepted as a tenant access token.
memberships[Membership!]!The identity's tenant memberships as of login, including any that are disabled or in a tenant that is disabled or being deleted; selectTenant refuses those. After a password sign-in, a tenant that requires single sign-on is listed with ssoRequired set, and selectTenant refuses it. Call identityMemberships to re-read them later without logging in again.
superuserBoolean!True when the identity holds the superuser system role, which may enter any tenant with full authority whether or not it has a membership there.

Invitation​

object

An invitation to join this tenant.

FieldTypeDescription
acceptedAtStringWhen the invitation was accepted, as an RFC 3339 timestamp. Null until it is.
createdAtString!When the invitation was issued, as an RFC 3339 timestamp.
emailString!The email address the invitation was issued to.
expiresAtString!When the invitation stops being usable, as an RFC 3339 timestamp.
revokedAtStringWhen the invitation was revoked, as an RFC 3339 timestamp. Null unless it was.
stateInvitationState!Where the invitation is in its life.

InvitationSearchResults​

object

One page of this tenant's invitations, newest first.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[Invitation!]!The invitations on this page.

Member​

object

A person's membership in this tenant, as the tenant's administrators see it.

FieldTypeDescription
emailString!The member's email address, which is their sign-in name.
enabledBoolean!False when the membership is disabled, or the member has not accepted their invitation yet.
firstNameStringThe member's first name. Null when none has been set, and always null while the member's invitation is pending.
invitationPendingBoolean!True when the member was invited and has not accepted yet.
lastNameStringThe member's last name. Null when none has been set, and always null while the member's invitation is pending.
managedByIdentityProviderBoolean!True when the membership is managed by the tenant's identity provider. Such a membership cannot be changed here.
mfaEnabledBoolean!True when the member has two-factor authentication turned on. Always false while their invitation is pending.
roles[TenantRole!]!The roles the member holds in this tenant.
scope[ScopeAnchor!]!The customers whose devices the member is limited to. Empty when the member sees the whole tenant.

MemberInvitation​

object

The result of inviting a person or reissuing their invitation.

FieldTypeDescription
invitationCodeString!The one-time invitation code. Give it to the person to accept with acceptInvitation; it is shown only here, is never stored, and cannot be read back later. It is valid for 7 days.
memberMember!The member, disabled until they accept.

MemberSearchResults​

object

One page of this tenant's members, ordered by email.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits in the full result set.
results[Member!]!The members on this page.

Membership​

object

A tenant an identity belongs to, with the roles the identity holds in it.

FieldTypeDescription
mfaRequiredBoolean!True when the tenant requires a second factor and this password sign-in did not use one, so selectTenant refuses it with the error code MFA_REQUIRED (the identity has a factor: sign in again and enter the code) or MFA_ENROLLMENT_REQUIRED (it has none: set up two-factor authentication first, with beginTotpEnrollment, then sign in again). Always false for a superuser, and for a sign-in that already used a second factor.
roles[String!]!Tokens of the roles this identity holds in the tenant. Empty if it holds none.
ssoRequiredBoolean!True when the tenant requires single sign-on and this sign-in used a password, so selectTenant refuses it with the error code SSO_REQUIRED: sign in through the identity provider (beginSso) to enter it. Always false for a superuser, and for a sign-in that came through single sign-on.
tenantString!Token of the tenant, as accepted by selectTenant.

MfaStatus​

object

An identity's own view of its second factor.

FieldTypeDescription
enrolledAtStringWhen the factor was confirmed, as an RFC 3339 timestamp. Null when it is not enabled.
recoveryCodesRemainingInt!How many recovery codes are still unused. Zero when the factor is not enabled.
totpEnabledBoolean!True when an authenticator is enrolled and confirmed, so a password sign-in asks for a code.

RecoveryCodes​

object

A set of single-use recovery codes, shown ONCE. Each is stored only as a digest, so a lost set cannot be shown again: regenerateRecoveryCodes replaces it.

FieldTypeDescription
codes[String!]!The codes, such as ABCD-EFGH-JKMN-PQRS. Each can sign in once, in place of an authenticator code.

ScopeAnchor​

object

One entry of a member's scope: a customer or group whose devices the member can see.

FieldTypeDescription
kindScopeAnchorKind!What the anchor names.
tokenString!Token of the customer (or group) the anchor names.

SearchResultsPagination​

object

Where a page of search results sits in the full result set. Positions are 1-based and inclusive.

FieldTypeDescription
pageEndIntPosition of the last result on this page within the full result set (1-based, inclusive).
pageStartIntPosition of the first result on this page within the full result set (1-based).
totalRecordsIntNumber of records matching the criteria across all pages.

ServiceAccount​

object

A service account: a non-human principal of this tenant that an integration uses to call the APIs. It obtains short-lived access tokens from the OAuth token endpoint with the client_credentials grant, using its client ID and a client secret, and acts with exactly the authorities of its roles, limited to its scope.

FieldTypeDescription
clientIdString!The OAuth client ID the account authenticates with. Not a secret.
createdAtString!When the account was created, as an RFC 3339 timestamp.
createdByStringThe subject of the administrator who created the account.
descriptionStringFree-text description. Null when none was set.
enabledBoolean!False when the account is disabled and cannot obtain tokens.
nameStringHuman-readable name. Null when none was set.
roles[TenantRole!]!The roles the account holds. Its tokens carry exactly these roles' authorities.
scope[ScopeAnchor!]!The customers or groups whose devices the account is limited to. Empty for the whole tenant.
secrets[ServiceAccountSecret!]!The account's secrets, newest first, including expired ones.
tokenString!Unique identifier of the service account within this tenant.

ServiceAccountCredentials​

object

A service account with a newly created client secret. The secret is shown only here: it is never stored, and cannot be read back later.

FieldTypeDescription
clientIdString!The client ID to authenticate with.
clientSecretString!The client secret. Store it now; it cannot be shown again.
serviceAccountServiceAccount!The service account.
tokenEndpointStringThe token endpoint to request tokens from. Null when this instance has no OAuth issuer configured.

ServiceAccountSearchResults​

object

One page of this tenant's service accounts, ordered by token.

FieldTypeDescription
paginationSearchResultsPagination!Where this page sits within the full result set.
results[ServiceAccount!]!The service accounts on this page.

ServiceAccountSecret​

object

One client secret of a service account. The secret itself is shown only once, when it is created; this record never carries it.

FieldTypeDescription
activeBoolean!True while the secret can still obtain tokens.
createdAtString!When the secret was created, as an RFC 3339 timestamp.
expiresAtString!When the secret stops working, as an RFC 3339 timestamp. Every secret expires; after a rotation the previous secret's expiry is the end of the overlap.
hintString!The secret's last four characters, to tell secrets apart.
lastUsedAtStringWhen the secret last obtained a token, as an RFC 3339 timestamp. Null if it never has.

SignOut​

object

The outcome of signing out. The sign-in has ended on this platform.

FieldTypeDescription
providerSignOutUrlStringWhere to send the browser to sign out at the identity provider as well, or null when there is nothing more to do: the sign-in did not come through single sign-on, its connection is not set to sign people out at the provider, the provider publishes no sign-out address, or returnTo was not given. The provider sends the browser back to the app named by returnTo.

SsoBegin​

object

The start of a single sign-on: the address of the identity provider's sign-in page. Send the browser there; the provider sends it back to the returnTo address you gave.

FieldTypeDescription
authorizationUrlString!The provider's authorization address, to navigate the browser to.

Tenant​

object

The tenant the caller is acting within, as seen by that tenant's own members. It carries the settings that shape the console: white-label branding, the map basemap and the default language.

FieldTypeDescription
basemapTenantBasemap!The map basemap in effect for this tenant: its own overrides laid over the instance-wide default. Always present; a field is null where neither level sets it, and maps with no tile source draw positions on a plain panel. Readable by any member of the tenant.
basemapOverrideTenantBasemap!Only the basemap this tenant has set itself, with no instance default folded in: a null field means the tenant inherits it. Use it to show which values are overridden when editing; use basemap to draw maps. Readable by any member of the tenant.
brandingTenantBranding!The white-labeling in effect for this tenant: the tenant's own overrides laid over the instance-wide default, field by field, with the tenant's value winning. Always present; a field is null when neither level sets it, and the console then keeps its built-in look for that aspect. Readable by any member of the tenant.
brandingOverrideTenantBranding!Only the branding this tenant has set itself, with no instance default folded in: a null field means the tenant inherits that aspect. Use it to show which values are overridden when editing; use branding to apply the look. Readable by any member of the tenant.
descriptionStringFree-text description of the tenant. Null when none has been set.
localeStringThe default language of the console for this tenant, as a BCP-47 language tag such as "en", "es" or "pt-BR": the tenant's own setting if it has one, otherwise the instance default. Null when neither is set. It applies only to members who have not chosen a language themselves, and only when the console ships that language. Readable by any member of the tenant.
localeOverrideStringOnly the default language this tenant has set itself, with no instance default folded in: null means the tenant inherits it. Use it to show whether the value is overridden when editing; use locale for the value in effect.
mfaRequiredBoolean!True when the tenant requires a second factor of its password sign-ins: the tenant's own setting or its tier's floor. Single sign-on is governed by its connection's requirements instead. Readable by any member of the tenant.
mfaRequiredByTierBoolean!True when the tenant's tier requires a second factor, which setTenantMfaRequired cannot turn off. Readable by any member of the tenant.
nameStringHuman-readable name of the tenant. Null when none has been set.
tokenString!Unique identifier of the tenant on this instance.

TenantBasemap​

object

The map tile source a tenant's maps draw on, plus the view they open at when there is nothing to fit to. A null field is unset.

FieldTypeDescription
attributionStringThe credit line the tile provider requires, shown on the map. Plain text, in which links may be written as <a href="https://...">text</a>. Always set together with tileUrl: a tenant that sets its own tileUrl does not inherit the instance default's credit line.
centerLatFloatLatitude in degrees, from -90 to 90, of the point maps open centered on when they have nothing of their own to fit to. Set together with centerLon.
centerLonFloatLongitude in degrees, from -180 to 180, of the point maps open centered on when they have nothing of their own to fit to. Set together with centerLat.
tileUrlStringURL template of the raster tiles, over https, in which {z}, {x} and {y} (or {bbox-epsg-3857}, or {quadkey}) stand for the tile being requested.
zoomFloatZoom level, from 0 (whole world) to 24, that maps open at when they have nothing of their own to fit to.

TenantBranding​

object

White-labeling applied to the console. A null field means the console keeps its built-in look for that aspect.

FieldTypeDescription
accentStringAccent color as a hex string, #rrggbb.
backgroundStringPage background color as a hex string, #rrggbb.
foregroundStringText color as a hex string, #rrggbb.
logoStringThe logo, in a form you can put straight into an image tag: an https URL, a base64 data: URI of a PNG, JPEG or WebP image, or, for an uploaded logo, a path on this API that you fetch with your access token.
logoMaxHeightIntMaximum height, in pixels, at which the logo is drawn, from 16 to 200.
primaryStringPrimary brand color as a hex string, #rrggbb.
titleStringProduct name shown in the browser tab and the console, at most 64 characters.
updatedAtStringA version stamp, as an RFC 3339 timestamp, for caching: it changes whenever the branding may have changed. On branding it is the later of the tenant's last modification and the instance default's; on brandingOverride it is the tenant's last modification, which any change to the tenant moves, not only a branding change. Null if never modified.

TenantGovernance​

object

The limits that apply to one tenant, resolved for the services that enforce them: each value is the tenant's own setting if it has one, otherwise the setting of the tenant's tier. A null limit means neither sets it, and the enforcing service then applies its platform default; null never means unlimited. Which of the two supplied a value is not reported.

FieldTypeDescription
aiExternalEnabledBoolean!Whether the tenant has agreed to have its data sent to an external AI model provider. False unless the tenant has explicitly opted in; there is no inherited value, and a tenant that never opted in reads as false.
aiInferenceBurstIntHow many AI inference requests the tenant may make in a burst above the sustained rate before being throttled.
aiInferenceRequestsPerMinuteFloatSustained rate at which the tenant may make AI inference requests, in requests per minute.
calculatedMetricsPerProfileIntThe most calculated metrics (metrics computed from a formula over the other metrics of a reading) that one of the tenant's device profiles may publish. Set on the tenant's tier; there is no per-tenant override. When null, the platform default applies, which is 0: calculated metrics are off unless the tier turns them on.
geoFenceCeilingIntThe most geofences the tenant may have at one time. When null, the platform default applies.
geoFencePositionBudgetIntThe most positions (vertices) the tenant's geofences may have in total, summed across every fence. A limit on the combined size of the whole set, independent of geoFencePositionCeiling and geoFenceCeiling. When null, the platform default applies.
geoFencePositionCeilingIntThe most positions (vertices) one geofence may have, counted across all of its rings. A limit on the size of a single fence. When null, the platform default applies.
heldCommandCeilingIntThe most commands the tenant may have waiting on a device that is known to be offline, in the held state. Beyond it, new commands for absent devices are refused. When null, the command service applies its configured default; there is no unlimited value.
ingestBurstIntHow many readings the tenant may submit in a burst above the sustained ingest rate before being throttled.
ingestReadingsPerSecondFloatThe tenant's effective sustained ingest ceiling, in readings per second: its own override, else its tier's. A reading is one stored value: one measurement value, one location or one alert. Null means neither declares one and the platform default applies — never unlimited.
integrationsPerTenantIntThe most inbound integrations (network servers and webhook senders, each authenticated by its own bearer token) the tenant may hold. Set on the tenant's tier; there is no per-tenant override. When null, the platform default applies, which is 5. Zero is a real setting: the tier holds none.
outboundBurstIntHow many outbound calls the tenant may make in a burst above the sustained outbound rate before being throttled.
outboundCallsPerSecondFloatThe tenant's effective sustained outbound ceiling, in connector calls dispatched per second: its own override, else its tier's. Null means neither declares one and the platform default applies — never unlimited.
provisioningBurstIntHow many device registrations the tenant may make in a burst above the sustained self-registration rate before being throttled.
provisioningRegistrationsPerSecondFloatThe tenant's effective sustained self-registration ceiling, in device registrations per second: its own override, else its tier's. Null means neither declares one and the platform default applies — never unlimited.
purgeStateString!Where the tenant is in its deletion lifecycle: active for a normal tenant, or purging once the tenant has been deleted and its data is being erased. Never null.
shedPriorityIntHow strongly the tenant's traffic is protected when the platform is overloaded and has to refuse some ingest: a whole number from 1 to 100, higher meaning more protected. 80 to 100 is never refused, 50 to 79 only under the heaviest load, 20 to 49 under heavy load, and 1 to 19 first. When null, the platform treats the tenant as priority 30.
tierTokenString!Token of the tier (the operator-defined packaging level) the tenant belongs to. Every tenant has exactly one.

TenantRole​

object

A role that can be assigned to members of this tenant.

FieldTypeDescription
authorities[String!]!The authorities the role grants, such as device:read or alarm:write. * grants every tenant authority.
descriptionStringFree-text description of the role. Null when none has been set.
nameStringHuman-readable name of the role. Null when none has been set.
ownerRoleOwner!Whether the instance operator or this tenant defined the role.
tokenString!Token of the role, unique among the roles assignable in this tenant.

TotpEnrollment​

object

What beginTotpEnrollment hands back, once: everything an authenticator app needs to hold the new second factor. Render otpauthUri as a QR code in the browser (it carries the secret) or show secret for typing in by hand. Neither is stored in readable form or returned again.

FieldTypeDescription
expiresAtString!When the pending enrolment stops being confirmable, as an RFC 3339 timestamp. Ten minutes after it began.
otpauthUriString!The otpauth:// URI to render as a QR code.
secretString!The same shared secret as unpadded base32, for typing into an authenticator by hand.

TotpEnrollmentResult​

object

What confirmTotpEnrollment returns: the recovery codes, shown once, and the caller's replacement sign-in.

FieldTypeDescription
authIdentityAuth!The sign-in to continue with. Turning the second factor on ends every session the account had, the one that enrolled included (so a session started by someone who had only the password does not outlast it), and this is a fresh sign-in whose tokens record a password and an authenticator code. Same shape as login's answer.
codes[String!]!The ten recovery codes, shown once. Each is stored only as a digest and cannot be shown again.

Input types​

InvitationSearchCriteria · InviteMemberRequest · MemberSearchCriteria · ProfileUpdateRequest · ScopeAnchorInput · ServiceAccountCreateRequest · ServiceAccountSearchCriteria · TenantBasemapInput · TenantBrandingInput · TenantRoleCreateRequest · TenantRoleUpdateRequest

InvitationSearchCriteria​

input

Paging for listing this tenant's invitations.

Input fieldTypeDescription
pageNumberInt!Page to return, starting at 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

InviteMemberRequest​

input

A person to invite into this tenant.

Input fieldTypeDescription
emailString!The person's email address.
roleTokens[String!]!Tokens of the roles to give them. Each must be assignable in this tenant.
scope[ScopeAnchorInput!]The customers to limit them to. Omit it, or send an empty list, for the whole tenant. At most 16 anchors.

MemberSearchCriteria​

input

Filters and paging for listing this tenant's members. Filters are combined with AND.

Input fieldTypeDescription
emailPrefixStringOnly members whose email starts with this text, ignoring case.
enabledBooleanTrue for enabled memberships only, false for disabled ones only. Omit it for both.
managedByIdentityProviderBooleanTrue for memberships the tenant's identity provider manages only, false for manual ones only. Omit it for both.
pageNumberInt!Page to return, starting at 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.
roleTokenStringOnly members who hold the role with this token, whether the instance's or the tenant's own.
scopeAnchorScopeAnchorInputOnly members whose scope names this customer or group. A member with the whole tenant has no scope and is not matched.

ProfileUpdateRequest​

input

Changes to the signed-in user's own display name. The user is identified by the request's access token, so only your own profile can be edited. For each field, leaving it out keeps the stored name, a value sets it, and null or an empty string clears it.

Input fieldTypeDescription
firstNameStringNew first name. Omit to keep it, send null or an empty string to clear it.
lastNameStringNew last name. Omit to keep it, send null or an empty string to clear it.

ScopeAnchorInput​

input

One entry of a scope to set on a member.

Input fieldTypeDescription
kindScopeAnchorKind!What the anchor names.
tokenString!Token of the customer or group the anchor names.

ServiceAccountCreateRequest​

input

A service account to create.

Input fieldTypeDescription
descriptionStringFree-text description, at most 1024 characters.
nameStringHuman-readable name, at most 128 characters.
roleTokens[String!]!The roles to assign. Each must be assignable in this tenant and grant only authorities you hold yourself.
scope[ScopeAnchorInput!]The customers or groups to limit the account to. Omit it, or send an empty list, for the whole tenant.
secretExpiresInDaysIntDays until the first secret expires: 1 to 730. Defaults to 365.
tokenString!Unique identifier within this tenant: letters, digits, hyphens and underscores, starting with a letter or digit, at most 128 characters.

ServiceAccountSearchCriteria​

input

Paging for listing this tenant's service accounts.

Input fieldTypeDescription
pageNumberInt!Page to return, starting at 1.
pageSizeInt!Results per page. Below 1 means the default of 100; above 1000 is capped at 1000.

TenantBasemapInput​

input

A basemap for setTenantBasemap. Every field is optional and the input replaces the tenant's whole basemap: a field left out or sent as null (or as a blank string) is cleared, so that aspect falls back to the instance default.

Input fieldTypeDescription
attributionStringCredit line for the tiles, at most 512 characters. The only markup allowed is links written exactly as <a href="https://...">text</a>. Required when tileUrl is set, and rejected without it.
centerLatFloatLatitude in degrees, from -90 to 90. Must be sent together with centerLon.
centerLonFloatLongitude in degrees, from -180 to 180. Must be sent together with centerLat.
tileUrlStringRaster tile URL template: an https URL of at most 2048 characters containing {z}, {x} and {y}, or {bbox-epsg-3857}, or {quadkey}. {prefix}, {ratio} and {bbox} are also substituted; any other placeholder is rejected. Requires attribution.
zoomFloatZoom level, from 0 to 24.

TenantBrandingInput​

input

A tenant's white-labeling theme for setTenantBranding. It replaces the whole theme: a field left out or sent as null is cleared, so that aspect falls back to the instance default. The logo is not part of it; see setTenantLogo.

Input fieldTypeDescription
accentStringAccent color as a hex string, #rrggbb.
backgroundStringPage background color as a hex string, #rrggbb.
foregroundStringText color as a hex string, #rrggbb.
logoMaxHeightIntMaximum height in pixels at which the logo is drawn; from 16 to 200.
primaryStringPrimary brand color as a hex string, #rrggbb.
titleStringProduct name shown in the browser tab and the console, at most 64 characters.

TenantRoleCreateRequest​

input

A role to define for this tenant.

Input fieldTypeDescription
authorities[String!]!The authorities the role grants. Each must be a tenant authority that you hold yourself; * only if you hold *.
descriptionStringFree-text description of the role.
nameStringHuman-readable name of the role.
tokenString!Unique identifier for the role: letters, digits, hyphens and underscores, starting with a letter or digit, at most 128 characters. It may not be the token of an instance role.

TenantRoleUpdateRequest​

input

Changes to a role this tenant defined. For each field, leaving it out keeps the stored value, a value sets it, and null clears it.

Input fieldTypeDescription
authorities[String!]New authorities, replacing the current set. Omit to keep them; null or an empty list removes them all. Each must be a tenant authority that you hold yourself.
descriptionStringNew description. Omit to keep it, send null to clear it.
nameStringNew name. Omit to keep it, send null to clear it.

Enums​

InvitationState · RoleOwner · ScopeAnchorKind · SignOutReturn

InvitationState​

enum

Where an invitation is in its life.

ValueDescription
PENDINGIssued and still usable.
ACCEPTEDAccepted: the member has joined.
EXPIREDNot accepted before it expired. Reissue it to send a new one.
REVOKEDRevoked by an administrator.

RoleOwner​

enum

Who defined a role.

ValueDescription
INSTANCEA role the instance operator defined. It can be assigned here but not changed here.
TENANTA role this tenant defined for itself. It exists only in this tenant.

ScopeAnchorKind​

enum

The kind of thing a scope anchor names.

ValueDescription
CUSTOMERA customer: the anchor covers the devices assigned to that customer.
GROUPAn entity group: the anchor covers the devices in the group while it is an access scope (at its active version), so a device moved into or out of the group is seen or not without the member being edited. A group that is not an access scope covers nothing.

SignOutReturn​

enum

The app a sign-out at the identity provider returns the browser to.

ValueDescription
CONSOLEThe console's sign-in page.
DASHBOARDThe dashboard app.