Archive image

post /text/Image/archive

Use this endpoint to mark a generated image as archived. Archived images are hidden from active views but remain available for auditing/history.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name Type Description
type string, required The ID of the image to archive.

Example API Request

Response

200
404
//The image was archived successfully.
//The image ID does not exist.