Request
To delete the error image, send a DELETE request to:
Bash
https://<host>:<port>/imagemetadata/v1/error
This deletes the error image and any resized copies of it.
Headers
-
Authorization– Keycloak access token for a user with theadminRolerole (see Accessing operator APIs using Keycloak)
Mandatory arguments
None.
Other arguments
None.
Example
This request deletes the error image:
Bash
https://<host>:<port>/imagemetadata/v1/error
Response
A successful request returns an HTTP 200 status.
An unauthorised request returns an HTTP 401 status – for example, if the access token is invalid or has expired.
A forbidden request returns an HTTP 403 status – for example, if the access token is missing or the user does not have the adminRole role.
See also
For full details of this API, see the Image Metadata Service (IMDS) API documentation.