delete_cache
Delete build caches for a Codemagic app. Specify a cache ID to remove a specific workflow cache, or omit to clear all caches. Action is asynchronous.
Instructions
Delete a build cache for a Codemagic app. If cache_id is provided, deletes that specific workflow cache. If omitted, deletes all caches for the app. Deletion is asynchronous — the API returns immediately and completes in the background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The Codemagic app ID | |
| cache_id | No | Specific cache ID to delete (from list_caches). If omitted, all caches are deleted. |