> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# updateAccount

> Update account details



**mutation** `updateAccount(input: UpdateAccountInput!): Account!`

## Arguments

**`input`**: `UpdateAccountInput!` (required)

## Returns

`Account!`

**`accessMethod`**: `AccountAccessMethod!`

Access method for new users to join this account. 'invite only' is the default

---

**`accountEmailDomain`**: `String`

Email domain to be used for SSO and authorized domain configuration

> Deprecated: This field is deprecated and replaced by EmailDomains to support multiple domains. Please use the emailDomains field instead.

---

**`accountStatus`**: `AccountStatus`

The status of the account, e.g. "ACTIVE" or "BLOCKED"

---

**`defaultSSORoles`**: `AccessRoles`

Default SSO roles for the account

---

**`displayName`**: `String!`

The display name of the account

---

**`emailDomains`**: `[AccountEmailDomain!]`

Email domains to be used for SSO and authorized domain configuration

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`samlEnabled`**: `Boolean`

Whether SAML SSO is enabled for the account

---

**`subscriptionBillingAnchor`**: `BillingAnchor`

The billing anchor for the subscription, e.g. "START_OF_THE_MONTH"

---

**`subscriptionProrationBehavior`**: `ProrationBehavior`

The proration behavior for the subscription, e.g. "CREATE_PRORATIONS"

---

**`timezone`**: `String`

The timezone of the account, e.g. "America/New_York"

## Examples

```graphql Mutation
mutation UpdateAccount($input: UpdateAccountInput!) {
  updateAccount(input: $input) {
    accessMethod
    accountEmailDomain
    accountStatus
    defaultSSORoles {
      accountRole
      nonProductionRole
      productionRole
    }
    displayName
    emailDomains {
      accountId
      domain
      id
    }
  }
}
```

```json Variables
{
  "input": {
    "displayName": "string"
  }
}
```

```json Response
{
  "data": {
    "updateAccount": {
      "accessMethod": "AUTHORIZED_DOMAIN",
      "accountEmailDomain": "string",
      "accountStatus": "ACTIVE",
      "defaultSSORoles": {
        "accountRole": "MEMBER",
        "nonProductionRole": "ADMIN",
        "productionRole": "ADMIN"
      },
      "displayName": "string",
      "emailDomains": [
        {
          "accountId": "value",
          "domain": "string",
          "id": "value"
        }
      ]
    }
  }
}
```


## Related topics

- [UpdateAccountInput](https://docs.stigg.io/graphql-reference/types/UpdateAccountInput.md)
- [Zuora APIs used by Stigg](https://docs.stigg.io/documentation/native-integrations/billing/zuora/zuora-apis-used-by-stigg.md)
- [Account details](https://docs.stigg.io/documentation/managing-your-account/account-details.md)
- [updateUser](https://docs.stigg.io/graphql-reference/mutations/updateUser.md)
- [UpdateUserInput](https://docs.stigg.io/graphql-reference/types/UpdateUserInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.