Mutation
mutation UpdateAccount($input: UpdateAccountInput!) {
updateAccount(input: $input) {
accessMethod
accountEmailDomain
accountStatus
defaultSSORoles {
accountRole
nonProductionRole
productionRole
}
displayName
emailDomains {
accountId
domain
id
}
}
}Variables
{
"input": {
"displayName": "string"
}
}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"
}
]
}
}
}Mutations
updateAccount
Update account details
MUTATION
updateAccount(input: UpdateAccountInput!): Account!Arguments
input
required
Returns
accessMethod
Access method for new users to join this account. 'invite only' is the default
accountEmailDomain
String
deprecated
Email domain to be used for SSO and authorized domain configuration
This field is deprecated and replaced by EmailDomains to support multiple domains. Please use the emailDomains field instead.
accountStatus
The status of the account, e.g. "ACTIVE" or "BLOCKED"
defaultSSORoles
Default SSO roles for the account
displayName
String!
The display name of the account
emailDomains
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
The billing anchor for the subscription, e.g. "START_OF_THE_MONTH"
subscriptionProrationBehavior
The proration behavior for the subscription, e.g. "CREATE_PRORATIONS"
timezone
String
The timezone of the account, e.g. "America/New_York"
Mutation
mutation UpdateAccount($input: UpdateAccountInput!) {
updateAccount(input: $input) {
accessMethod
accountEmailDomain
accountStatus
defaultSSORoles {
accountRole
nonProductionRole
productionRole
}
displayName
emailDomains {
accountId
domain
id
}
}
}Variables
{
"input": {
"displayName": "string"
}
}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"
}
]
}
}
}