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

Deleting a Shared Image.

Function

This API is used to delete a shared image.

URI

DELETE /v1/{project_id}/cloud-phone/images/{image_id}/members/{member_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

image_id

Yes

String

Specifies the image ID.

member_id

Yes

String

Specifies the IDs of the projects that the image is shared with.

project_id

Yes

String

Specifies the project ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

request_id

String

Specifies the request ID.

Example Requests

Deleting a Shared Image

DELETE https://{CPH Endpoint}/v1/{project_id}/cloud-phone/images/{image_id}/members/{member_id}

Example Responses

Status code: 200

ok

{
  "request_id" : "95f25ae6120643ac9e0effd633b37b98"
}

Status Codes

Status Code

Description

200

ok

Error Codes

See Error Codes.