Identity and Access Management API, REST: RefreshToken.List
List subjects Refresh Tokens.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/refreshTokens
Query parameters
Field |
Description |
subjectId |
string |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters refresh tokens listed in the response. The expression must specify:
|
Response
HTTP Code: 200 - OK
{
"refreshTokens": [
{
"id": "string",
"clientInstanceInfo": "string",
"clientId": "string",
"subjectId": "string",
"createdAt": "string",
"expiresAt": "string",
"lastUsedAt": "string",
"protectionLevel": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
refreshTokens[] |
List of Refresh Tokens |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
RefreshToken
Field |
Description |
id |
string Refresh Token id. |
clientInstanceInfo |
string Information about the app for which the Refresh Token was issued. |
clientId |
string The OAuth client identifier for which the Refresh Token was issued. |
subjectId |
string The subject identifier for whom the Refresh Token was issued. |
createdAt |
string (date-time) Refresh token creation time. String in RFC3339 To work with values in this field, use the APIs described in the |
expiresAt |
string (date-time) Refresh token expiration time. String in RFC3339 To work with values in this field, use the APIs described in the |
lastUsedAt |
string (date-time) Timestamp for the last authentication using this Refresh Token. String in RFC3339 To work with values in this field, use the APIs described in the |
protectionLevel |
enum (ProtectionLevel) Protection level of the refresh token. It shows whether DPOP was used to protect the Refresh Token and and the level of security of the storage used for the DPOP key.
|