Get User Refresh Token Expiration Time
Get the current expiration time in seconds for user session refresh tokens.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
GET
/groups/{groupId}/apps/{appId}/security/refresh_token_expiration
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/refresh_token_expiration' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"expiration_time_seconds": 5184000
}