storage
Cancel storage import
Requests cancellation of an ongoing storage import. The task enters the cancelling state while imported data is rolled back when necessary.
post/1.3/storage/{uuid}/import/cancel
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/storage/{uuid}/import/cancel
- Auth: HTTP bearer
Path parameters
uuidstring uuid required
Universally unique identifier
Example:0414e0d7-4436-4037-9dd8-6eaf47dce599
Storage resource UUID
Response
Storage import cancellation requested
Example response
{
"storage_import": {
"client_content_length": 0,
"client_content_type": "",
"completed": "",
"created": "2020-06-26T08:51:07Z",
"direct_upload_url": "https://fi-hel1.img.upcloud.com/uploader/session/07a6c9a3-300e-4d0e-b935-624f3dbdff3f",
"error_code": "",
"error_message": "",
"md5sum": "",
"read_bytes": 0,
"sha256sum": "",
"source": "direct_upload",
"state": "prepared",
"uuid": "07a6c9a3-300e-4d0e-b935-624f3dbdff3f",
"written_bytes": 0
}
}Changes
No recorded changes to this operation across all 1 revision of this API.