POST /v1/users
Create a User
Create a new user in your organization
POST
POST /v1/users
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a User
Create a new user in your organization.Body Parameters
Username for the user. Must be unique across the organization.
Email address of the user. Must be unique across the organization.
Human-readable display name for the user.
Description of the user in Markdown format.
Whether this user is a bot account.
Whether this user has admin privileges.
Array of team fully qualified names to assign the user to.
Array of role fully qualified names to assign to the user.
Array of persona references to assign to the user.
Fully qualified name of the domain to assign for governance purposes.
Profile information for the user.
POST /v1/users
Returns
Returns the created user object with all specified properties and system-generated fields.Response
Unique identifier for the user (UUID format).
Username.
Fully qualified name (same as
name for users).Human-readable display name.
Email address of the user.
Whether this user is a bot account.
Whether this user has admin privileges.
Teams the user belongs to.
Roles assigned to the user.
Personas assigned to the user.
Domain assignments for governance.
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/users instead of POST to perform an upsert. If a user with the same fullyQualifiedName already exists, it will be updated; otherwise, a new user is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.Bulk Create or Update (PUT)
UsePUT /v1/users/bulk to create or update multiple users in a single request. The request body is an array of create request objects.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create users |
409 | ENTITY_ALREADY_EXISTS | User with same name already exists (POST only) |