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,[]]