Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}
Request body
The request body contains data with the following structure:
JSON representation
{"domain": string,"primaryAdminEmail": string}
Fields
domain
string
Required. Domain to fetch for Cloud Identity account customers, including domain and team customers. For team customers, please use the domain for their emails.
primaryAdminEmail
string
Optional. Primary admin email to fetch for Cloud Identity account team customer.
Returns true if a Cloud Identity account exists for a specific domain.
owned
boolean
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
customerName
string
If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
customerCloudIdentityId
string
If existing = true, the Cloud Identity ID of the customer.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis API endpoint, \u003ccode\u003echeckCloudIdentityAccountsExist\u003c/code\u003e, verifies the existence of Cloud Identity accounts associated with a specified domain and whether they are owned by the reseller.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter specifying the reseller account, along with a request body containing the \u003ccode\u003edomain\u003c/code\u003e and an optional \u003ccode\u003eprimaryAdminEmail\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of \u003ccode\u003eCloudIdentityCustomerAccount\u003c/code\u003e resources, each detailing the existence and ownership status of a Cloud Identity account for the given domain.\u003c/p\u003e\n"],["\u003cp\u003ePossible error codes include \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e (incorrect reseller account), \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e (missing or invalid parameters), and \u003ccode\u003eINVALID_VALUE\u003c/code\u003e (invalid domain).\u003c/p\u003e\n"],["\u003cp\u003eIn the v1alpha1 API version, a \u003ccode\u003eNOT_FOUND\u003c/code\u003e error is returned if there are no matching \u003ccode\u003eCloudIdentityCustomerAccount\u003c/code\u003e resources for the provided domain.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.checkCloudIdentityAccountsExist\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.CheckCloudIdentityAccountsExistResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CloudIdentityCustomerAccount](#CloudIdentityCustomerAccount)\n - [JSON representation](#CloudIdentityCustomerAccount.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nConfirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller.\n\nPossible error codes:\n\n- PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.\n- INVALID_ARGUMENT: Required request parameters are missing or invalid.\n- INVALID_VALUE: Invalid domain value in the request.\n\nReturn value: A list of [CloudIdentityCustomerAccount](/channel/docs/reference/rest/v1alpha1/accounts/checkCloudIdentityAccountsExist#CloudIdentityCustomerAccount) resources for the domain (may be empty)\n\nNote: in the v1alpha1 version of the API, a NOT_FOUND error returns if no [CloudIdentityCustomerAccount](/channel/docs/reference/rest/v1alpha1/accounts/checkCloudIdentityAccountsExist#CloudIdentityCustomerAccount) resources match the domain.\n\n### HTTP request\n\n`POST https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*}:checkCloudIdentityAccountsExist`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse message for [CloudChannelService.CheckCloudIdentityAccountsExist](/channel/docs/reference/rest/v1alpha1/accounts/checkCloudIdentityAccountsExist#google.cloud.channel.v1alpha1.CloudChannelService.CheckCloudIdentityAccountsExist).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nCloudIdentityCustomerAccount\n----------------------------\n\nEntity representing a Cloud Identity account that may be associated with a Channel Services API partner."]]