For the complete documentation index, see llms.txt. This page is also available as Markdown.

69. Mutation: „Photo“ löschen

Löschen Sie das ausgewählte „Foto“.

Sie müssen der Eigentümer sein, um ein Foto zu löschen.

Das „Foto“ kann entweder mit „Notiz“ oder „Kommentar“ verknüpft sein. Daher ist es zwingend erforderlich, die Attribute uuid, noteUuid und commentUuid in der Antwort zu überprüfen.

mutation DeleteNotePhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
  }) {
    uuid
    noteUuid
    url
    Erstellungsdatum
    updatedDate
  }
}
mutation DeleteCommentPhotoSample {
  deletePhoto(input: {
    uuid: "<placeholder_for_photo_uuid>"
    noteUuid: "<placeholder_for_note_uuid>"
    commentUuid: "<placeholder_for_comment_uuid>"
  }) {
    uuid
    noteUuid
    commentUuid
    url
    Erstellungsdatum
    updatedDate
  }
}

Zuletzt aktualisiert

War das hilfreich?