INVALID_ARGUMENT: Required request parameters are missing or invalid.
NOT_FOUND: The customer was not found.
ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the customer's primary contact email.
INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
Return value: The ID of a long-running operation.
To get the results of the operation, call the operations.get method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
HTTP request
POST https://cloudchannel.googleapis.com/v1alpha1/{customer=accounts/*/customers/*}:provisionCloudIdentity
[[["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 allows for the creation of a Cloud Identity for a specified customer, utilizing their existing information or newly provided details.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to provision a Cloud Identity is a \u003ccode\u003ePOST\u003c/code\u003e request to a specific URL, requiring a customer resource name in the path, and it supports gRPC Transcoding.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be structured with \u003ccode\u003ecloudIdentityInfo\u003c/code\u003e, \u003ccode\u003euser\u003c/code\u003e, and optionally \u003ccode\u003evalidateOnly\u003c/code\u003e fields, which contains customer-specific and Admin user information.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution returns a long-running operation ID, requiring an additional call to the \u003ccode\u003eoperations.get\u003c/code\u003e method to retrieve the final results, and any operation metadata.\u003c/p\u003e\n"],["\u003cp\u003eVarious error codes such as \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, \u003ccode\u003eNOT_FOUND\u003c/code\u003e, \u003ccode\u003eALREADY_EXISTS\u003c/code\u003e, \u003ccode\u003eINTERNAL\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e may occur under different conditions, requiring different actions.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.customers.provisionCloudIdentity\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- [Authorization scopes](#body.aspect)\n- [AdminUser](#AdminUser)\n - [JSON representation](#AdminUser.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nCreates a Cloud Identity for the given customer using the customer's information, or the information provided here.\n\nPossible error codes:\n\n- PERMISSION_DENIED:\n - The customer doesn't belong to the reseller.\n - You are not authorized to provision cloud identity id. See \u003chttps://support.google.com/channelservices/answer/9759265\u003e\n- INVALID_ARGUMENT: Required request parameters are missing or invalid.\n- NOT_FOUND: The customer was not found.\n- ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the customer's primary contact email.\n- INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.\n- UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.\n\nReturn value: The ID of a long-running operation.\n\nTo get the results of the operation, call the operations.get method of CloudChannelOperationsService. The Operation metadata contains an instance of `OperationMetadata`.\n\n### HTTP request\n\n`POST https://cloudchannel.googleapis.com/v1alpha1/{customer=accounts/*/customers/*}:provisionCloudIdentity`\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\nIf successful, the response body contains an instance of [Operation](/channel/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\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\nAdminUser\n---------\n\nInformation needed to create an Admin User for Google Workspace."]]