Delete one cache entry
The entry's bytes are freed; a job that asks for it next gets a miss.
DELETE/v1/ci/installations/{installation}/repositories/{repository_id}/caches/{entry}
The entry's bytes are freed; a job that asks for it next gets a miss.
A key with the ci:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/ci/installations/1/repositories/1/caches/1" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
installation | path | integer | Yes | The GitHub App installation. |
repository_id | path | integer | Yes | GitHub's repository id. |
entry | path | integer | Yes | The entry's id, as the list answers it. |
Answer
204. Deleted.
Errors
The refusals this call is known for: unauthorized, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.