• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Glance
  5. Image Sharing (Native OpenStack APIs)
  6. Deleting an Image Member (Native OpenStack API)

Deleting an Image Member (Native OpenStack API)

Function

This API is used to stop image sharing by deleting the tenant with whom the image is shared.

URI

  • URI format

    DELETE /v2/images/{image_id}/members/{member_id}

  • URI parameter description

    Parameter

    Mandatory

    Type

    Description

    image_id

    Yes

    String

    Specifies the image ID.

    member_id

    Yes

    String

    Specifies the member ID.

Request

  • Example request
    DELETE https://{Endpoint}/v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members/edc89b490d7d4392898e19b2deb34797

Response

  • Example response
    204 No Content

Returned Values

  • Normal

    204

  • Abnormal

    Returned Value

    Description

    400 Bad Request

    Request error.

    401 Unauthorized

    Authentication failed.

    403 Forbidden

    You do not have the rights to perform the operation.

    404 Not Found

    The requested resource was not found.

    500 Internal Server Error

    Internal service error.

    503 Service Unavailable

    The service is unavailable.