Delete Image
delete
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}
Deletes the image and all its versions. If isForce is set to true, targets subscribed to this image are automatically unsubscribed. The user will have re-subscribe the targets to a different image. FPP REST User credentials are required for deleting FPP images.
Request
Path Parameters
-
goldImageId(required): string
ID of the image
Supported Media Types
- application/json
Nested Schema : DeleteImageInput
Type:
object
Delete gold image option
Show Source
-
fppRestUser: string
REST user to be used for an FPP REST callExample:
rest_cuser
-
isForce: boolean
Flag to force delete even if targets are subscribed
Examples
Back to Top
Response
202 Response
It is a long running/async API. It submits a deployment procedure for deletion of an FPP image.
Headers
-
Location:
URL link to track status of the API for the deployment procedureExample:
/deploymentProcedureInstances/{deploymentProcedureInstanceId}
Root Schema : schema
Type:
Show Source
object
-
links: object
links
links
-
message: string
messageExample:
It is a long running/async API. It submits a deployment procedure for deletion of an FPP image.
Nested Schema : links
Type:
object
links
Show Source
-
tracking: object
tracking
Represents the link to REST API to track the status of the submitted deployment procedure
Nested Schema : tracking
Type:
object
Represents the link to REST API to track the status of the submitted deployment procedure
Show Source
-
href: string
URL for the LinkExample:
/deploymentProcedureInstances/{deploymentProcedureInstanceId}
204 Response
No content. (This is the native fleet image delete response)
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found. The requested REST API URL is not found.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string