Need to revoke APIGEE Access Tokens for a same end user in two different environments under same organization.

Suppose we have two different environments under the same organization .

We generate Access Token with Auth Code Grant Type for both environments separately and associated with same enduser.

Now we want to revoke Access Tokens issued to that enduser for only one environment and not both.

I tried to search the tokens related to the user with GET /search token :

https://{MS_Host}:8080/v1/organizations/{org_name}/oauth2/search?enduser={enduser}.

This command returns the tokens for both the environments .

If we now revoke , it will revoke the tokens for that user for both the environments .

Is there a way we can revoke only tokens associated to the user in only one environment and not both??

0 2 108
2 REPLIES 2

Not applicable

Hi @Abhishek R

Remove product from list of products. then Developer apps cannot create proper API key.

@saigurunath Boggavarapu

Is there a way oauth can be enabled for enduser w.r.t. environment??

Also which product u r talking abt to be removed??