Disassociating an FPGA Image from an ECS Image

Function

This API is used to delete a mapping between an FPGA image and an ECS image.

URI

DELETE /v1/{project_id}/cloudservers/fpga_image/{fpga_image_id}/association

Table 1 describes the parameters in the URI.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

fpga_image_id

Yes

Specifies the FPGA image ID.

Request

Table 2 describes the request parameters.

Table 2 Request parameters

Parameter

Type

Mandatory

Description

image

Object

Yes

Specifies the ECS image.

Table 3 image field description

Parameter

Type

Mandatory

Description

id

String

Yes

Specifies the ECS image ID.

Response

None

Example Request

DELETE https://{endpoint}/v1/{project_id}/cloudservers/fpga_image/{fpga_image_id}/association
{
  "image": {
    "id": "18efee75-e058-4c52-a49c-9e3ba4d1c8de"
  }
}

Example Response

None

Returned Values

See Returned Values for General Requests.

Error Codes

See Error Codes.