v4

latestSwagger 2.02026-07-13112457.8 KB

Gets an access token for the workspace with the specified access token ID. Requires Bearer JWT access token provided by Entra ID.

get/playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}

Path parameters

workspaceIdstring required

The workspace ID in GUID format.

accessTokenIdstring required

The access token ID in GUID format.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

x-ms-client-request-idstring uuid

An opaque, globally-unique, client-generated string identifier for the request.

x-ms-useragentstring

Optional header to specify additional client information when the standard 'User-Agent' header cannot be explicitly set, such as when using Playwright Client. The value should follow the standard 'User-Agent' header format.

Response

The request has succeeded.

idstring required

The access token ID in GUID format.

namestring required

The access token name.

jwtTokenstring

The access token value in JWT format.

createdAtstring date-time required

The access token creation timestamp in UTC.

expiryAtstring date-time required

The access token expiration timestamp in UTC.

state'Active' | 'Expired' required

The access token state.