Skip to main content
PUT
PUT /v1/users

Update a User

Create a user or update it if it already exists, using PUT /v1/users with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.

Permissions

Starting in OpenMetadata 2.0.3, updating another user’s profile requires EditAll on that user. A request without the required permission returns 403 Forbidden. Adding a user to a closed team (isJoinable: false) requires an administrator. OpenMetadata 2.0.3 also enforces this for create-or-update (PUT /v1/users) requests. Keeping an existing closed-team membership in a PUT request does not count as adding a new membership. Other authorization requirements still apply.

Body Parameters

string
required
Username for the user. Must be unique across the organization.
string
required
Email address of the user. Must be unique across the organization.
string
Human-readable display name for the user.
string
Description of the user in Markdown format.
boolean
default:"false"
Whether this user is a bot account.
boolean
default:"false"
Whether this user has admin privileges.
array
Array of team UUIDs, as strings, to assign the user to.
array
Array of role UUIDs, as strings, to assign to the user.
array
Array of persona references to assign to the user.
array
Fully qualified names of the domains to assign for governance purposes.
object
Profile information for the user.
PUT /v1/users

Returns

Returns the updated user object with the new version number.

Response

string
Unique identifier for the user (UUID format).
string
Username.
string
Fully qualified name (same as name for users).
string
Updated description.
number
Incremented version number.

Error Handling