Force start auto storage import scan
Forcefully starts scan of auto storage import mechanism in given space.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a space. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE forsceStartAutoStorageImportScan --host https://$HOST:9443 id=$SPACE_IDResponses
Scan of auto storage import in given space has started.
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Storage import scan is currently exectued in the space.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
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.