Skip to main content

imageDelete

Deletes the stored image file and metadata only when owned by the current account, returning a confirmation string. Use imageList or imageDetail to find its UUID; siteId is ignored, and a missing image returns an error. Requires a logged-in session.

imageDelete(
id: ID!
siteId: Int
): String!

Arguments​

imageDelete.id ● ID! non-null scalar​

Image UUID from imageList, imageDetail, imageUpload or imageUploadUrls.

imageDelete.siteId ● Int scalar​

Ignored; the image is found by id within the current account.

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.