Adding an Image Sharing Member (Native OpenStack API)

Function

This API is used to add a project ID of a tenant the image is to be shared with.

Constraints

For an encrypted image, you need to authorize the key used by the image before using this API. For details, see "How Do I Authorize a Key?" in Image Management Service User Guide.

URI

POST /v2/images/{image_id}/members

Request

Example Request

Adding a tenant who can use the shared image (project ID: edc89b490d7d4392898e19b2deb34797)

1
2
3
4
POST https://{Endpoint}/v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members
{
    "member":"edc89b490d7d4392898e19b2deb34797"
}

Response

Returned Values