Users

Update an existing user's data.

patch/api/v1/users/{user_id}

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Password
      Token URL: api/v1/login
    • or API key in query parameter x-api-key
    • or API key in header x-api-key

Path parameters

user_idstring uuid required

Headers

X-Langflow-Operation-IDstring nullable

Request body

is_activeboolean nullable
is_superuserboolean nullable
last_login_atstring date-time nullable
optinsobject nullable
passwordstring nullable
profile_imagestring nullable
usernamestring nullable

Response

Successful Response

create_atstring date-time required
idstring uuid
is_activeboolean required
is_superuserboolean required
last_login_atstring date-time nullable required
optinsobject nullable
profile_imagestring nullable required
store_api_keystring nullable required
updated_atstring date-time required
usernamestring required

Changes

    • info

      added the new optional header request parameter X-Langflow-Operation-ID

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status