currentUserUpdate
Update the profile of the current user. The currentUserUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
For a complete list of input attributes see the CurrentUserAttributes type
mutation currentUserUpdate ($attributes: CurrentUserAttributes!) {
currentUserUpdate (attributes: $attributes) {
emailBody
emailSubject
entityId
errors
firstName
lastName
profile {
phone
tabnameIsSubdomain
timezone
title
}
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"profile": {
"phone": "",
"title": "",
"timezone": "",
"tabnameIsSubdomain": true
},
"firstName": "",
"lastName": "",
"entityId": "456123",
"emailSubject": "",
"emailBody": ""
}
}
| Name | Type | Description |
|---|---|---|
| attributes | CurrentUserAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| emailBody | String | |
| emailSubject | String | |
| entityId | ID | |
| errors | List (String) | |
| firstName | String | |
| lastName | String | |
| profile | UserProfile |