PUT/v1/user/oidc

Create an OpenID Connect user

Creates a user account that references an existing OpenID Connect user. Supply the required username and add the OIDC subject identifier, email, permissions, or teams as needed. You need the ACCESS_MANAGEMENT or ACCESS_MANAGEMENT_CREATE permission.

5 body fields

OpenID Connect user account data. username is required; the other fields are optional.

emailstringoptional
The user's email address. Maximum 255 characters.
permissionsarray<object>optional
Permission records associated with the user.
subjectIdentifierstringoptional
The identifier of the referenced OpenID Connect user. Must contain 1 to 255 characters.
teamsarray<object>optional
Teams associated with the user.
usernamestringrequired
The user's username. Must contain 1 to 255 characters.

4 status codes
201Returns the created OpenID Connect user object, including its username, subject identifier, email, permissions, and teams.
emailstringoptional
permissionsarray<object>optional
subjectIdentifierstringoptional
teamsarray<object>optional
usernamestringrequired
400Returned when the username is null or blank.
401Returned when the request is unauthorized.
409Returned when a user with the same username already exists.

Error handling

A 400 is returned when username is null or blank; username is required and must contain 1 to 255 characters. A 401 is returned when the request is unauthorized. A 409 is returned when a user with the same username already exists.