Auth0 Home Blog Docs

Management API for User Grants?

management-api

#1

Is there an API to manage user grants?

  • List Grants so that we can include a list of “Authorized Applications” in our own web app (see below).
  • Revoke Grant so that we can allow users to revoke grants themselves without needing to contact our support team to manual revoke the grant from the Auth0 Management Portal.

There appears to be a private API for this information https://squatch-dev.auth0.com/api/grants/user/:id?user_id=google-oauth2%7C111008735178770813841&_=1492111829733, but there doesn’t appear to be any methods for this in the Management API docs.

alt text


#2

According to the Management API documentation you should be able to accomplish your requirements with the following endpoints:


#3