User profile profile update

PUT /user-profile/profile/{id}/

Path parameters

  • id integer Required

    A unique integer value identifying this profile.

Body Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
curl \
 --request PUT 'http://api.example.com/user-profile/profile/{id}/' \
 --header "Content-Type: application/json" \
 --data '{"user":42,"bio":"string","location":"string","birth_date":"2025-05-04"}'
curl \
 --request PUT 'http://api.example.com/user-profile/profile/{id}/' \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'user=42&bio=string&location=string&birth_date=2025-05-04'
curl \
 --request PUT 'http://api.example.com/user-profile/profile/{id}/' \
 --header "Content-Type: multipart/form-data" \
 --form "user=42" \
 --form "bio=string" \
 --form "location=string" \
 --form "birth_date=2025-05-04"
Request examples
{
  "user": 42,
  "bio": "string",
  "location": "string",
  "birth_date": "2025-05-04"
}
Response examples (200)
{
  "id": 42,
  "user": 42,
  "bio": "string",
  "location": "string",
  "birth_date": "2025-05-04"
}