File: stores.inc

package info (click to toggle)
glance 2%3A30.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,416 kB
  • sloc: python: 74,906; sh: 175; makefile: 111
file content (30 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.. -*- rst -*-

Stores
******

Multi-store backend support allows for storing copies of an image in multiple places.

Delete image from store
~~~~~~~~~~~~~~~~~~~~~~~

.. rest_method::  DELETE /v2/stores/{store_id}/{image_id}

This API allows you to delete a copy of the image from a specific store.
*(Since Image API v2.10)*

.. note::
    * This API will not allow deletion of the last location for an image.

Normal response codes: 204

Error response codes: 400, 401, 403, 404, 409

Request
-------

.. rest_parameters:: images-parameters.yaml

   - store_id: store-in-path
   - image_id: image_id-in-path