Update User
PATCH
/user/{user_id}
User
If a user has not signed in for the first time, authorized users can update the user information using this API.
After a user signs in for the first time, only that user can update their information using this API.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/user/' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "John",
"last_name": "Doe",
"company": "Bevy",
"title": "Software Engineer",
"city": "Gotham",
"country": "CA",
"bio": "I'\''m a software engineer",
"timezone": "America/Los_Angeles",
"tags": [
"tag1",
"tag2"
],
"website": "https://bevy.com",
"twitter": "bevy",
"linkedin": "bevy",
"facebook": "bevy"
}'
Response Response Example
200 - Example 1
{
"authentication_providers": [
{
"provider": "google-oauth2",
"provider_user_id": 1234
}
],
"avatar": {
"url": "https://res.cloudinary.com/startup-grind/image/upload/.../image.png",
"path": "image.png",
"thumbnail_width": 720,
"thumbnail_height": 540,
"thumbnail_format": "auto",
"thumbnail_url": "https://res.cloudinary.com/startup-grind/image/upload/.../image.png"
},
"company": "Bevy",
"cropped_avatar_url": "https://res.cloudinary.com/startup-grind/image/fetch/.../image.jpeg",
"extra_data": {},
"title": "Mr.",
"role": {
"id": 1234,
"name": "Prospective",
"description": "Prospective Member",
"user_active_status": true
},
"email": "user@mail.com",
"first_name": "John",
"id": 1234,
"last_name": "Doe",
"username": "string"
}
Request
Path Params
user_id
string
required
Body Params application/json