Update user
Update User allows to update the user's profile. The following fields can be updated:
username
PATCH
/v1/client/user
curl \
--request PATCH https://api.bitlabs.ai/v1/client/user \
--header "X-Api-Token: $API_KEY" \
--header "X-User-Id: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"username":"string"}'
Request examples
{
"username": "string"
}
Response examples (200)
{
"data": {}
}
Response examples (406)
{
"error": {
"details": {
"msg": "vpn detected",
"http": "406 Not Acceptable"
}
}
}