Update admin profile
PUT/v2/onboard/admin
Updates the profile of the admin that owns the access token, for example the name or the phone number.
Request
- application/json
Body
required
organisationAdmin objectrequired
The profile fields to update.
Name
Avatar image ID
Avatar image Url
Last visited date time
Role ID
Role name
Admin's phone number
Unique identifier for the admin's image
URL to the admin's image
External identifier for the admin
Identity provider ID
Unique identifier for the organization
Name of the organization
Responses
- 200
- 400
- 401
- 500
The service updated the profile of the admin.
- application/json
- Schema
- Example (from schema)
Schema
organisationAdmin object
Name
Avatar image ID
Avatar image Url
Last visited date time
Role ID
Role name
Admin's phone number
Unique identifier for the admin's image
URL to the admin's image
External identifier for the admin
Identity provider ID
Unique identifier for the organization
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"
}
}
Bad request
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}