Update admin avatar image
PUT/v2/onboard/admin/avatarimage
Updates the avatar image of the admin that owns the access token. Send the image as multipart/form-data in the avatarimage field.
Request
- multipart/form-data
Body
required
avatarimage binaryrequired
The new avatar image.
Responses
- 200
- 401
- 500
The service updated the avatar image.
- application/json
- Schema
- Example (from schema)
Schema
organisationAdmin object
id string
email stringEmail
name stringrequired
Name
avatarImageId string
Avatar image ID
avatarImageUrl string
Avatar image Url
lastVisited string
Last visited date time
roleId integer
Role ID
roleName string
Role name
phone string
Admin's phone number
imageId string
Unique identifier for the admin's image
imageUrl string
URL to the admin's image
externalId string
External identifier for the admin
identityProviderId string
Identity provider ID
organizationId string
Unique identifier for the organization
organizationName string
Name of the organization
{
"organisationAdmin": {
"id": "",
"email": "string",
"name": "string",
"avatarImageId": "string",
"avatarImageUrl": "string",
"lastVisited": "string",
"roleId": 0,
"roleName": "string",
"phone": "string",
"imageId": "string",
"imageUrl": "string",
"externalId": "string",
"identityProviderId": "string",
"organizationId": "string",
"organizationName": "string"
}
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Loading...