Is it possible to get a list of all refresh tokens and their attributes via an API call?

 
Solved Solved
0 2 126
1 ACCEPTED SOLUTION

There's no API call to list the access (refresh) tokens. Only a GET API call is available to get info for a particular token.

v1/o/{org}/oauth2/accesstokens/{accesstoken}

http://docs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/oauth2/accesstokens/%7Bacces...

View solution in original post

2 REPLIES 2

There's no API call to list the access (refresh) tokens. Only a GET API call is available to get info for a particular token.

v1/o/{org}/oauth2/accesstokens/{accesstoken}

http://docs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/oauth2/accesstokens/%7Bacces...

There is also a search API available for the tokens ,but to use that, you would need to enable a property at the organization level first & the token search will work only on the new tokens which are created after enabling the above property.