Update current user
PATCHhttps://api.staging.powerapi.com/api/v1/users/me
Update current user details
Request
- application/vnd.api+json
Body
required
data
object
Responses
- 200
Update current user details
- application/vnd.api+json
- Schema
Schema
any
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L -X PATCH 'https://api.staging.powerapi.com/api/v1/users/me' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"type": "users",
"attributes": {
"allergies": "string",
"avatar": "string",
"bio": "string",
"birthday": "2024-07-29",
"city": "string",
"country_code": "string",
"cover": "string",
"cv": "string",
"email": "string",
"experience": "string",
"facebook_url": "string",
"favourite_drink": "string",
"favourite_food": "string",
"gender": "string",
"instagram_url": "string",
"linkedin_url": "string",
"monthly_bars_budget": 0,
"monthly_delivery_takeaway_budget": 0,
"monthly_restaurants_budget": 0,
"name": "string",
"phone": "string",
"phone_country_code": "string",
"phone_country_prefix": "string",
"post_code": "string",
"public_email": "string",
"recovery_email": "string",
"region_code": "string",
"short_description": "string",
"specializations_list": "string",
"street": "string",
"street_number": "string",
"twitter_url": "string",
"website_url": "string",
"language": "en"
}
}
}'
ResponseClear