Updated on 2022-08-09 GMT+08:00

Deleting a Disk Transfer

Function

This API is used to delete a disk transfer. A disk transfer can be deleted if it is not accepted. Accepted disk transfers cannot be deleted.

URI

  • URI format

    DELETE /v2/{project_id}/os-volume-transfer/{transfer_id}

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

    For details about how to obtain the project ID, see Obtaining a Project ID.

    transfer_id

    Yes

    Specifies the disk transfer ID.

Request

  • Example request
    DELETE https://{endpoint}/v2/{project_id}/os-volume-transfer/cac5c677-73a9-4288-bb9c-b2ebfb547377

Response

None

Status Codes

  • Normal

    202

Error Codes

For details, see Error Codes.