This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients paul.moore, steve.dower, tim.golden, vstinner, xtreak, zach.ware
Date 2018-09-05.09:32:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536139927.31.0.56676864532.issue34575@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-09-05 09:32:07vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, xtreak
2018-09-05 09:32:07vstinnersetmessageid: <1536139927.31.0.56676864532.issue34575@psf.upfronthosting.co.za>
2018-09-05 09:32:07vstinnerlinkissue34575 messages
2018-09-05 09:32:07vstinnercreate