69. Mutation : supprimer une « Photo »
Supprimer la "Photo" sélectionnée.
La "Photo" peut être liée soit à une "Note" soit à un "Commentaire". Il est donc obligatoire de vérifier les attributs uuid, noteUuid et commentUuid dans la réponse.
mutation DeleteNotePhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
}) {
uuid
noteUuid
url
dateDeCréation
updatedDate
}
}mutation DeleteCommentPhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
commentUuid: "<placeholder_for_comment_uuid>"
}) {
uuid
noteUuid
commentUuid
url
dateDeCréation
updatedDate
}
}
Précédent68. Mutation : actualiser les statistiques de « VectorAnalysisMap »
Suivant70. Mutation : supprimer plusieurs « Photos »
Mis à jour
Ce contenu vous a-t-il été utile ?