Trigger space auto-cleaning
Trigger one run of auto-cleaning mechanism for given space.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a space. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE triggerAutoCleaning --host https://$OP_PANEL_HOST:9443Responses
Cleaning of given space has started.
No action taken. Auto-cleaning is already running or there are no files to be cleaned.
Invalid request.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.