Cleanup Machine Expired Contracts
Machines
Cleanup Machine Expired Contracts
Sends a volume cleanup task to the machine daemon and soft-deletes expired client contracts on the machine.
PUT
Cleanup Machine Expired Contracts
Authorizations
API key must be provided in the Authorization header
Path Parameters
ID of the machine on which expired contracts should be cleaned up.
Response
Returns {success: true, ctime, machine_id, user_id, num_deleted, msg} when contracts were deleted; {success: false, msg: "No expired contracts to delete"} when nothing to clean