Delete cache

acgetchell's Avatar


20 Feb, 2020 03:57 AM


vcpkg has a bug where it doesn't update existing packages. On Travis-CI, I can delete the cache which forces a retrieval of all packages, avoiding the issue.

I'd like to do the same with AppVeyor. I understand there's an API call, but it doesn't seem to be working:

adam@hapkido ~/vcpkg (master) $ export APPVEYOR_TOKEN="myToken"  
adam@hapkido ~/vcpkg (master) $ curl -H "Authorization: Bearer $APPVEYOR_TOKEN" -H DELETE  
{"message":"The requested resource does not support http method 'GET'."}%
  1. Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2020 08:54 PM

    Feodor Fitsner's Avatar

    DELETE is the correct verb, not GET:

  2. 2 Posted by acgetchell on 24 Feb, 2020 10:00 PM

    acgetchell's Avatar

    I did use delete:

    curl -H "Authorization: Bearer $APPVEYOR_TOKEN" -H DELETE
    Adam Getchell, M.S.
    Director of Information Technology
    College of Agricultural & Environmental Sciences, UC Davis
    [email blocked] <mailto:[email blocked]> (530)341-2486 <>
    "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac