Path parameters
-
ID of the resource to fetch
PATCH /users/{id}/profile_picture
curl \
-X PATCH https://api.cosmily.com/api/v1/users/{id}/profile_picture \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"image":"string"}'
Request example
{
"image": "string"
}
Request examples
{
"image": "string"
}
Response examples (200)
[
{
"id": 42,
"user_id": 42,
"image": "string",
"url": "string"
}
]
Response examples (200)
[
{
"id": 42,
"user_id": 42,
"image": "string",
"url": "string"
}
]