Get Refresh Tokens
POST/users/me/tokens/refresh/_search
Returns the list of refresh tokens of the authenticated user.
Request​
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
object
Body
required
object
Body
required
object
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object
the last time the view got updated
result
object[]
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-11-15T21:46:10.368Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-11-15T21:46:10.368Z",
"changeDate": "2024-11-15T21:46:10.368Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object
the last time the view got updated
result
object[]
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-11-15T21:46:10.369Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-11-15T21:46:10.369Z",
"changeDate": "2024-11-15T21:46:10.369Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object
the last time the view got updated
result
object[]
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
oauth2/oidc client_id of the authorized application
"time when the user authenticated, does not have to be the same time the token was created"
"time the refresh token will expire if not used, the user will have to reauthenticate"
"time the refresh token will expire, the user will have to reauthenticate"
scopes of the initial auth request, access tokens created by this refresh token can have a subset of these scopes
audience of the initial auth request and of all access tokens created by this refresh token
{
"details": {
"totalResult": "2",
"processedSequence": "267831",
"viewTimestamp": "2024-11-15T21:46:10.371Z"
},
"result": [
{
"id": "69629023906489455",
"details": {
"sequence": "2",
"creationDate": "2024-11-15T21:46:10.371Z",
"changeDate": "2024-11-15T21:46:10.371Z",
"resourceOwner": "69629023906488334"
},
"clientId": "69629023906488334@ZITADEL",
"authTime": "2023-02-13T08:45:00.000000Z",
"idleExpiration": "2023-02-14T08:45:00.000000Z",
"expiration": "2023-02-14T08:45:00.000000Z",
"scopes": [
"openid",
"email",
"profile",
"offline_access"
],
"audience": [
"69629023906488334@ZITADEL",
"69629023906481256"
]
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}