Passer au contenu principal
PUT
/
v3beta1
/
enterprise
/
knowledge
/
notes
/
{note_id}
Update a note
curl --request PUT \
  --url https://api.devin.ai/v3beta1/enterprise/knowledge/notes/{note_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "name": "<string>",
  "trigger": "<string>"
}
'
{
  "access_type": "enterprise",
  "body": "<string>",
  "created_at": 123,
  "folder_id": "<string>",
  "is_enabled": true,
  "name": "<string>",
  "note_id": "<string>",
  "org_id": "<string>",
  "trigger": "<string>",
  "updated_at": 123
}

Autorisations requises

Nécessite un compte de service disposant de l’autorisation ManageAccountKnowledge au niveau de l’Enterprise.

Autorisations

Authorization
string
header
requis

Service User credential (prefix: cog_)

Paramètres de chemin

note_id
string
requis

Corps

application/json
body
string
requis
name
string
requis
trigger
string
requis

Réponse

Successful Response

access_type
enum<string>
requis
Options disponibles:
enterprise,
org
body
string
requis
created_at
integer
requis
folder_id
string | null
requis
is_enabled
boolean
requis
name
string
requis
note_id
string
requis
org_id
string | null
requis
trigger
string
requis
updated_at
integer
requis