Skip to main content
Unary · Environments Creates an access token for a specific port on an environment. The token grants access to the specified port based on the port’s admission level. Tokens are short-lived (~1 hour) with refresh tokens for long-running connections.

Examples

  • Generate port access token: Creates a token for accessing port 8080 on an environment.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.CreatePortAccessTokenRequest

Response

gitpod.v1.CreatePortAccessTokenResponse