User

Update user

Update User allows to update the user's profile. The following fields can be updated:

  • username
patch/v1/client/user

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/client/user
  • Auth
    • API key in header X-Api-Token and API key in header X-User-Id
    • or API key in query parameter token and API key in query parameter uid
    • or HTTP bearer

Request body

usernamestring

The new username for the user.

Example request

{
  "username": "abc1234999"
}

Response

OK

dataobject

Changes

No recorded changes to this operation across all 2 revisions of this API.