Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
workspaceCustomerId
string
Required. The workspace customer id for which the token should be crated
Response body
Response with a workspace connection token.
If successful, the response body contains data with the following structure:
[[["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-08-25 UTC."],[[["\u003cp\u003eThis endpoint \u003ccode\u003eprojects.locations.instances.generateWorkspaceConnectionToken\u003c/code\u003e generates a token for a workspace customer to connect to a Chronicle instance via a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e path parameter in the format \u003ccode\u003eprojects/{project_id}/locations/{region}/instances/{instance}\u003c/code\u003e to specify the Chronicle instance, as well as \u003ccode\u003eexpire_time\u003c/code\u003e and \u003ccode\u003eworkspace_customer_id\u003c/code\u003e in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eexpire_time\u003c/code\u003e field dictates when the token expires, and \u003ccode\u003eworkspace_customer_id\u003c/code\u003e denotes the specific workspace customer the token is for.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return a JSON object containing a \u003ccode\u003etoken\u003c/code\u003e field, which holds the newly created connection token.\u003c/p\u003e\n"],["\u003cp\u003eThis API requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.instances.generateWorkspaceConnectionToken\u003c/code\u003e on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: instances.generateWorkspaceConnectionToken\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.GenerateWorkspaceConnectionTokenResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.generateWorkspaceConnectionToken\n\nGenerates a token that can be used to connect a workspace customer to a chronicle instance\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse with a workspace connection token.\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/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `chronicle.instances.generateWorkspaceConnectionToken`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]