Query
query FetchAccount {
fetchAccount {
accessMethod
accountEmailDomain
accountStatus
defaultSSORoles {
accountRole
nonProductionRole
productionRole
}
displayName
emailDomains {
accountId
domain
id
}
}
}Response
{
"data": {
"fetchAccount": {
"accessMethod": "AUTHORIZED_DOMAIN",
"accountEmailDomain": "string",
"accountStatus": "ACTIVE",
"defaultSSORoles": {
"accountRole": "MEMBER",
"nonProductionRole": "ADMIN",
"productionRole": "ADMIN"
},
"displayName": "string",
"emailDomains": [
{
"accountId": "value",
"domain": "string",
"id": "value"
}
]
}
}
}Queries
fetchAccount
Fetch the account details
QUERY
fetchAccount: AccountReturns
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"
Query
query FetchAccount {
fetchAccount {
accessMethod
accountEmailDomain
accountStatus
defaultSSORoles {
accountRole
nonProductionRole
productionRole
}
displayName
emailDomains {
accountId
domain
id
}
}
}Response
{
"data": {
"fetchAccount": {
"accessMethod": "AUTHORIZED_DOMAIN",
"accountEmailDomain": "string",
"accountStatus": "ACTIVE",
"defaultSSORoles": {
"accountRole": "MEMBER",
"nonProductionRole": "ADMIN",
"productionRole": "ADMIN"
},
"displayName": "string",
"emailDomains": [
{
"accountId": "value",
"domain": "string",
"id": "value"
}
]
}
}
}