v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13204997.1 KB
projects

Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.

post/v1/{+workstation}:generateAccessToken

Path parameters

workstationstring required

Required. Name of the workstation for which the access token should be generated.

Request body

expireTimestring google-datetime

Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.

ttlstring google-duration

Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.

portinteger

Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation.

Response

Successful response