My account

Get all active grants

Changed on

Retrieve all active application grants for the user. A logto-verification-id in header is required for checking grant details.

get/api/my-account/grants

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account/grants
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Query parameters

appType'firstParty' | 'thirdParty'

Optional application type filter. Use 'firstParty' to return grants from first-party applications only, or 'thirdParty' for third-party applications only.

Response

Return a list of active application grants of the user.

Changes

    • breaking

      the /// response property's maxLength was unset from 21 for the response status

    • breaking

      the /// response property's maxLength was unset from 256 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status