post
https://{artifactory_host}/distribution/api/v1/maintenance/execute/
Executes a maintenance action using a previously generated token. Two action types are supported:
- UNLOCK_STUCK: Unlocks all stuck distributions, allowing them to be retried or cleaned up. Returns a report listing the stuck distributions and whether they were unlocked.
- STOP_ALL: Force-stops all in-progress distributions across the cluster, aborts all non-final trackers in the database, and flushes the task queue. Returns a report with affected tracker counts and queue flush status.
The dryRun query parameter (defaults to true) allows previewing what would be affected
without actually performing the action.
Requires admin permissions.
