curl --request GET \
--url https://{tenantDomain}/api/v2/refresh-tokens \
--header 'Authorization: Bearer <token>'{
"refresh_tokens": [
{
"id": "<string>",
"user_id": "auth0|507f1f77bcf86cd799439020",
"created_at": "2023-11-07T05:31:56Z",
"idle_expires_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"device": {
"initial_ip": "<string>",
"initial_asn": "<string>",
"initial_user_agent": "<string>",
"last_ip": "<string>",
"last_asn": "<string>",
"last_user_agent": "<string>"
},
"client_id": "<string>",
"session_id": "<string>",
"rotating": true,
"resource_servers": [
{
"audience": "<string>",
"scopes": "<string>"
}
],
"refresh_token_metadata": {},
"last_exchanged_at": "2023-11-07T05:31:56Z"
}
],
"next": "<string>"
}Retrieve a paginated list of refresh tokens for a specific user, with optional filtering by client ID. Results are sorted by credential_id ascending.
curl --request GET \
--url https://{tenantDomain}/api/v2/refresh-tokens \
--header 'Authorization: Bearer <token>'{
"refresh_tokens": [
{
"id": "<string>",
"user_id": "auth0|507f1f77bcf86cd799439020",
"created_at": "2023-11-07T05:31:56Z",
"idle_expires_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"device": {
"initial_ip": "<string>",
"initial_asn": "<string>",
"initial_user_agent": "<string>",
"last_ip": "<string>",
"last_asn": "<string>",
"last_user_agent": "<string>"
},
"client_id": "<string>",
"session_id": "<string>",
"rotating": true,
"resource_servers": [
{
"audience": "<string>",
"scopes": "<string>"
}
],
"refresh_token_metadata": {},
"last_exchanged_at": "2023-11-07T05:31:56Z"
}
],
"next": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the user whose refresh tokens to retrieve. Required.
Filter results by client ID. Only valid when user_id is provided.
An opaque cursor from which to start the selection (exclusive). Expires after 24 hours. Obtained from the next property of a previous response.
Number of results per page. Defaults to 50.
1 <= x <= 100Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
Whether specified fields are to be included (true) or excluded (false).
Cette page vous a-t-elle été utile ?