Run Retention Rule
Run an existing retention rule immediately (this will delete matching content). Before running it, preview the matches with a dry run in the web UI. The v1 API does not provide a dry-run endpoint.
Allowed Roles: Workspace Admin or System Admin • Authentication Required • Local repositories only
Notes: If retention rules are disabled on the server, this endpoint returns 403.
POST https://api.repoflow.io/1/workspaces/<workspace-ref>/repositories/<repository-ref>/retention-rules/run/<retention-rule-id>
Path Parameters
workspace-refstringRequired
Workspace ID or name.
repository-refstringRequired
Repository ID or name.
retention-rule-idstringRequired
Retention rule ID (UUID).