← API reference
Mutation / aiml

updateKnowledgeNote

Edit a note's body or scope, or supersede it with a replacement. The attachment is immutable. Requires knowledgeNote:write permission.

Arguments

Knowledge note ID to update

The note edit (body, scope, or supersession).

Returns KnowledgeNotePayload!

Explore in a view

AI and ML
View exact SDL
"""
Edit a note's body or scope, or supersede it with a replacement. The attachment is immutable. Requires knowledgeNote:write permission.
"""
updateKnowledgeNote(
  """Knowledge note ID to update"""
  id: KnowledgeNoteID!
  """The note edit (body, scope, or supersession)."""
  input: UpdateKnowledgeNoteInput!
): KnowledgeNotePayload! @topic(names: ["aiml"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.