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

bertrandbely
Participant II

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 171
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.

bertrandbely
Participant II

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.