Skip to main content

OperatorTokenResponse

Fresh rotating access and refresh credentials.

accessTokenAccesstoken (string)required

New short-lived bearer credential.

accessTokenExpiresAtstring<date-time>required

UTC expiry of the new access credential.

refreshTokenRefreshtoken (string)required

New rotating refresh credential.

refreshTokenExpiresAtstring<date-time>required

UTC expiry of the new refresh credential.

scopesOperatorScope (string)[]required

Canonical API scopes retained by the device.

Possible values: [cluster:read, models:read, chat:write, operations:write, devices:manage, plugins:read, plugins:manage, plugins:approve]

OperatorTokenResponse
{
"accessToken": "string",
"accessTokenExpiresAt": "2024-07-29T15:51:28.071Z",
"refreshToken": "string",
"refreshTokenExpiresAt": "2024-07-29T15:51:28.071Z",
"scopes": [
"cluster:read"
]
}