/auth/cli/tokenWrite operationExchange a TeamGrid CLI authorization code
Exchanges a short-lived, single-use authorization code for a cell-local TeamGrid CLI personal credential. This is a fixed first-party public-client protocol operation: it requires PKCE S256, the exact IPv4 loopback redirect used during browser approval, and no bearer credential. Send the request only to the regional API host returned by the browser callback. The response is reveal-once and must never be logged or cached.
Prepare this request
The builder does not execute requests or persist credentials. Replace the environment-variable placeholder only in your terminal or secret-aware runtime.
Request body
application/jsonauthorizationCoderequiredclientIdrequiredcodeVerifierrequiredgrantTyperequiredredirectUrirequiredResponses
5200The code was consumed and the reveal-once CLI credential was issued.application/json
application/jsonaccessTokenrequiredReveal-once cell-bound personal credential. Store it immediately in the operating-system credential store.
cellIdrequiredexpiresAtrequiredgrantIdrequiredregionrequiredreplayedrequiredscopesrequiredtokenTyperequiredidrequiredtyperequiredPublic API representation of meta.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
400The request is invalid.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
429The credential or source exceeded its rate limit.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
502The cell-local application returned an invalid response.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
503A required cell-local dependency is unavailable.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
Thank you. The rating contains no account or customer data.