diff --git a/revoke.py b/revoke.py new file mode 100755 index 0000000000000000000000000000000000000000..0f8dec6bad5f6531490e96c95eb3ff77dac233c4 --- /dev/null +++ b/revoke.py @@ -0,0 +1,13 @@ +#!/home/m/m300575/.conda/envs/polytope/bin/python +"""Revoke all pending requests via the polytope client.""" + +from polytope.api import Client + + +def revoke(request_id="all"): + client = Client(address="polytope.lumi.apps.dte.destination-earth.eu") + client.revoke(request_id) + + +if __name__ == "__main__": + revoke()