Create a user
POST/api/v1/users
Creates an enabled user with an ADMIN, OPERATOR, or VIEWER role. The password is accepted only for hashing and is never returned. ADMIN and CSRF are required.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”ADMIN request for creating a user.
object
Initial password accepted only for hashing and never returned.
Initial global role.
Unique username.
Example
replication-operatorResponses
Section titled “Responses”User created
Public user administration record. Password hashes and credentials are never exposed.
object
Creation timestamp in UTC.
Whether the account may authenticate.
User identifier.
Global authorization role.
Last update timestamp in UTC.
Current username.
The request is malformed or fails validation.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
Authentication is required or credentials are invalid.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
The authenticated identity lacks the required permission.
RFC 7807 problem response. Dynamic detail text is credential-redacted.
object
The request conflicts with the current resource or run state.
RFC 7807 problem response. Dynamic detail text is credential-redacted.