Delete Image Version
delete
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/goldImages/{goldImageId}/versions/{versionId}
Deletes the specified version of the image. For FPP based version of image, this is an asynchronous operation, which submits a deployment procedure to perform the task. FPP REST User credentials are required for deleting FPP based version of the image.
Request
Path Parameters
-
goldImageId(required): string
ID of the image
-
versionId(required): string
ID of the image version
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
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 Gold Image version delete response
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