Admin Management - Users

Update User

Update a user's profile, role, or move them to a different tenant. All fields are optional - provide only the fields you want to update.

patch/admin/users/{user_id}

Request

  • Base URL: https://ai.hatz.ai/v1
  • URL: https://ai.hatz.ai/v1/admin/users/{user_id}
  • Auth: API key in header X-API-Key

Path parameters

user_idstring required

User HashID

Request body

first_namestring nullable

User first name

last_namestring nullable

User last name

role_namestring nullable

New role name

tenant_idstring nullable

Move user to this tenant

Response

Successful Response

messagestring required

Success message

user_idstring required

HashID of updated user

Changes

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