Delete all Sessions

Posted over 5 years ago by Daviid clraik

Post a topic
D
Daviid clraik

We have   

curl http://<API_KEY>:@proxy.crawlera.com:8010/sessions

 to see all sessions


And we have

curl -X DELETE http://<API_KEY>:@proxy.crawlera.com:8010/sessions/SESSION_ID

To delete a specific session


It'd be nice to have  a something similar to 


curl -X DELETE http://<API_KEY>:@proxy.crawlera.com:8010/sessions
curl --header "x-delete-all" -X DELETE http://<API_KEY>:@proxy.crawlera.com:8010/sessions

to delete all sessions so we don't have to make lot's of requests for each session 

1 Votes


0 Comments

Login to post a comment