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

69. Mutation: Ta bort "Photo"

Radera den valda "Fotot".

Du måste vara ägaren för att radera ett foto.

"Fotot" kan vara länkat antingen till "Notering" eller "Kommentar". Därför är det obligatoriskt att kontrollera attributen uuid, noteUuid och commentUuid i svaret.

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

Senast uppdaterad

Var detta till hjälp?