diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2017-10-19 18:45:42 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2017-10-19 18:45:42 -0400 |
commit | 8026e7f588786a9fc78d6c554725c30b3c4dd8fa (patch) | |
tree | 58ea36eb60cabf08e65343f6f50c51739f8ef1e0 /api-ref | |
parent | 4731910f94d123129516741cca30d4a550028db1 (diff) | |
download | glance-8026e7f588786a9fc78d6c554725c30b3c4dd8fa.tar.gz |
Update api-ref about 403 for image location changes
Add deleting the only location or attempting to set the locations
to an empty list as another reason why a user might get a 403
response to a PATCH call.
Change-Id: I2edb072ded11d1b710af0309f0372d1b16042a54
Closes-bug: #1542724
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/v2/images-images-v2.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api-ref/source/v2/images-images-v2.inc b/api-ref/source/v2/images-images-v2.inc index 604433d50..4efb99813 100644 --- a/api-ref/source/v2/images-images-v2.inc +++ b/api-ref/source/v2/images-images-v2.inc @@ -531,6 +531,9 @@ fail with a 403 (Forbidden) response code: protections are configured in the OpenStack cloud in which you are making the call. Consult your cloud's documentation for details. +- An attempt to delete the only image location, or to replace the image + locations with an empty list *(since Image API v2.4)*. + Attempting to add a location path to an image that is not in ``queued`` or ``active`` state will result in a 409 (Conflict) response code *(since Image API v2.4)*. |