Remove an Image from an ImageStorage
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | ImageDelete Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
ImageDelete Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of an error |
type | String | Task type identifier. In this case, "image_delete" |
image_id | String | Unique identifier of the Image to be deleted |
image_storage_id | String | Unique identifier of the ImageStorage that contains Volume volume_id |
volume_id | String | Unique identifier of the Volume that contains Image image_id |
JSON Example
{ "repeat": "0", "retries": "0", "type": "image_delete", "volume_id": "vol01", "image_storage_id": "local", "image_id": "prueba10" } |