Authenticated user
Update the authenticated user
This endpoint uses PATCH semantics, meaning only the fields provided in the request body will be updated; all other fields remain unchanged.
AuthorizationBearer <token>
In: header
username?Username
The username of the user.
name?Name
The name of the user.
bio?Bio
The biography of the user.
urls?Urls
The user's personal and professional website URLs.
location?Location
The location of the user.
company?Company
The name of the company the user is associated with.
Response Body
curl -X PATCH "https://api.wrift.ai/v1/user" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"username": "string",
"avatar_url": "string",
"name": "string",
"bio": "string",
"urls": [
"string"
],
"location": "string",
"company": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}