Update User
PUT/user
Update User
Request
- multipart/form-data
Body
User avatar image file
files binary[]
Array of files to be uploaded
description string
Responses
- 200
- 401
- 403
- 404
- default
User successfully updated
- application/json
- Schema
- Example (from schema)
Schema
url string
The URL of the uploaded avatar image
{
"url": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...