Get user active grants
Changed onRetrieve all non-expired grants of the user. Optionally filter by application type via appType; when omitted, grants from all application types are returned.
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/grants
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
The unique identifier of the user.
Query parameters
Application type filter. Use 'thirdParty' to list third-party app grants only, or 'firstParty' to list first-party app grants only. If omitted, grants from all applications are returned.
Response
Return non-expired grants of the user. Results are filtered by app type when appType is provided.
Changes
- breaking
the
///response property's maxLength was unset from21for the response status - breaking
the
///response property's maxLength was unset from256for the response status - breaking
the
///response property's minLength was decreased from1to0for the response status - breaking
the
///response property's minLength was decreased from1to0for the response status
- breaking