user

Provision User

Creates a new user or updates an existing user's metadata from the provided token. The token should include "profile" and "email" scopes for complete user information.

post/management/v1/user

Request

Request body

emailstring nullable

Email of the user. If id is not specified, the email is extracted from the provided token.

idstring nullable

Subject id of the user - allows user provisioning. The id must be identical to the subject in JWT tokens, prefixed with <idp-identifier>~. For example: oidc~1234567890 for OIDC users or kubernetes~1234567890 for Kubernetes users. To create users in self-service manner, do not set the id. The id is then extracted from the passed JWT token.

namestring nullable

Name of the user. If id is not specified, the name is extracted from the provided token.

update-if-existsboolean

Update the user if it already exists Default: false

user-type'human' | 'application'

Type of a User

Response

User updated

created-atstring date-time required

Timestamp when the user was created

emailstring nullable

Email of the user

idstring required

The user's ID

last-updated-with'create-endpoint' | 'config-call-creation' | 'update-endpoint' | 'role-provider' required

How the user was last updated

namestring required

Name of the user

updated-atstring date-time nullable

Timestamp when the user was last updated

user-type'human' | 'application' required

Type of a User

Changes

No recorded changes to this operation across all 1 revision of this API.