Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
PowerShell sample:
$token = "" # token from
$accountName = "" # account name from project IRL (after project/")
$projectSlug = "" # project slug from project IRL (after account)
$headers = @{
"Authorization" = "Bearer $token"
"Content-type" = "application/json"
Invoke-RestMethod -Uri "$accountName/$projectSlug/buildcache" -Headers $headers -Method DELETE
Curl sample:
set token=""
set accountName=""
set projectSlug=""
curl -X "DELETE" "" -H "Content-type: application/json" -H "Authorization: Bearer %token%" --insecure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment