69. Mutation: Delete "Photo"
Delete the selected "Photo".
The "Photo" can be linked either to "Note" or "Comment". Therefore it is mandatory to control the uuid, noteUuid and commentUuid attributes in the response.
mutation DeleteNotePhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
  }) {
    uuid
    noteUuid
    url
    createdDate
    updatedDate
  }
}mutation DeleteCommentPhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
    commentUuid: "<placeholder_for_comment_uuid>"
  }) {
    uuid
    noteUuid
    commentUuid
    url
    createdDate
    updatedDate
  }
}
Previous68. Mutation: Refresh "VectorAnalysisMap" StatisticsNext70. Mutation: Delete multiple "Photos"
Last updated
Was this helpful?
