Edit in GitHubLog an issue
B2B feature. Learn more

isCompanyAdminEmailAvailable query

The isCompanyAdminEmailAvailable query checks whether the specified email can be used to create a company administrator account. If the email matches an existing customer or another company administrator account, the query returns a false value. A value of true indicates the email address can be used to create a company administrator account.

This query requires a valid customer authentication token.

Syntax

isCompanyAdminEmailAvailable ( email String! ) IsCompanyAdminEmailAvailableOutput

Reference

The isCompanyAdminEmailAvailable reference provides detailed information about the types and fields defined in this query.

Example usage

The following example checks whether the email address roni_cost@example.com can be used to create a company administrator account.

Request:

Copied to your clipboard
query{
isCompanyAdminEmailAvailable(email: "roni_cost@example.com"){
is_email_available
}
}

Response:

Copied to your clipboard
{
"data": {
"isCompanyAdminEmailAvailable": {
"is_email_available": false
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.