Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is there a way to revoke an app if quota is exceeded ?

Hi community,

Is there a way to revoke a developper app or his credentials on a product is a quota is exceeded ?

This is for security reason, if the credentials are stolen and somebody try many calls with these stolen credentials, this is a way to revoke this access.

Thanks a lot,

Bertrand

0 3 214
3 REPLIES 3

Not applicable

There is management api call using which you can revoke the client id and secret. You can use that in your flow with condition when the quota is exceeded.

You can also do manually using the edge UI.

Thanks Priyadarshi for your answer.

Is it possible to revoke the app instantly from the API proxy ? Using a policy or a script ?

Not applicable

Yes, as I said you have the management api call. So, use that as a rest api call in your service callout or javascript or java policy , that will work.