STINNER Victor <vstin...@redhat.com> added the comment:

REST API for the AppVeyor build cache:
https://www.appveyor.com/docs/build-cache/#rest-api

Authentication of the REST API:
https://www.appveyor.com/docs/api/#authentication

I tried:

$ curl -H "Authorization: Bearer <MY_PRIVATE_TOKEN>" -X "DELETE" 
https://ci.appveyor.com/api/projects/python/cpython/buildcache; echo

{"message":"You do not have required permissions to perform this action."}

Oh. I'm not allowed to clear the build cache :-(

I'm logged as "python" and my role is "Super User". If a Super User is not 
allowed to clear the cache, who is allowed to do that? Maybe my URL is wrong? 
The documentation says:

DELETE 
https://ci.appveyor.com/api/projects/{accountName}/{projectSlug}/buildcache

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34575>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to