Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

deleteAttachment():DeleteAttachment

Delete an existing Attachment. Requires basic:write scope to be accessible and depending on the Attachment type, either Portal or Asset permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of DeleteAttachmentInput
id: ID!

Id of the Attachment to delete.

Fields of DeleteAttachment
id:ID!

The Id of the deleted Attachment.

attachment:Attachment!
Deprecated, Removal: 2024-01-01

Attachment details. This field will be removed. Use id instead.