Created
May 18, 2020 13:12
-
-
Save random-robbie/7cc82983e35f5ec39b4b533dad7f4a99 to your computer and use it in GitHub Desktop.
revoke binaryedge jobs via api using a text file of job id's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for job in `cat $1`; do | |
curl -XPOST https://api.binaryedge.io/v1/tasks/$job/revoke -H 'X-Token:YOURBINARYEDGETOKEN' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment