Skip to main content

Delete Repository Cache File

Delete one cached file from a remote repository by file ID. This endpoint is only supported for remote repositories because it removes cache entries, not package files from local repositories.

Allowed Roles: Workspace Admin or System Admin • Authentication Required

DELETE https://api.repoflow.io/1/workspaces/<workspace-ref>/repositories/<repository-ref>/files/<file-id>

Path Parameters

workspace-refstringRequired

Workspace ID or name.

repository-refstringRequired

Repository ID or name.

file-idstringRequired

Repository file ID (UUID).