# currentUserUpdate

Update the profile of the current user

**Scope required:** standard:write

For a complete list of input attributes see the [CurrentUserAttributes](https://docs.bunny.com/developer/api-reference/types/currentuserattributes) type

```graphql
mutation currentUserUpdate ($attributes: CurrentUserAttributes!) {
  currentUserUpdate (attributes: $attributes) {
      emailBody
      emailSubject
      entityId
      errors
      firstName
      lastName
      profile {
        phone
        tabnameIsSubdomain
        timezone
        title
      }
  }
}
```

## Arguments

```json
{
  "attributes": {
    "profile": {
      "phone": "",
      "title": "",
      "timezone": "",
      "tabnameIsSubdomain": true
    },
    "firstName": "",
    "lastName": "",
    "entityId": "456123",
    "emailSubject": "",
    "emailBody": ""
  }
}
```

| Name       | Type                                                                                                | Description |
| ---------- | --------------------------------------------------------------------------------------------------- | ----------- |
| attributes | [CurrentUserAttributes](https://docs.bunny.com/developer/api-reference/types/currentuserattributes) |             |

## Response

| Name         | Type                                                                            | Description |
| ------------ | ------------------------------------------------------------------------------- | ----------- |
| emailBody    | String                                                                          |             |
| emailSubject | String                                                                          |             |
| entityId     | ID                                                                              |             |
| errors       | List (String)                                                                   |             |
| firstName    | String                                                                          |             |
| lastName     | String                                                                          |             |
| profile      | [UserProfile](https://docs.bunny.com/developer/api-reference/types/userprofile) |             |
