Pular para o conteúdo principal
DELETE
/
v3beta1
/
enterprise
/
knowledge
/
notes
/
{note_id}
Excluir uma nota
curl --request DELETE \
  --url https://api.devin.ai/v3beta1/enterprise/knowledge/notes/{note_id} \
  --header 'Authorization: Bearer <token>'
{
  "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
}

Permissões

Requer um usuário de serviço com a permissão ManageAccountKnowledge em nível Enterprise.

Autorizações

Authorization
string
header
obrigatório

Credencial de usuário de serviço (prefixo: cog_)

Parâmetros de caminho

note_id
string
obrigatório

Resposta

Resposta bem-sucedida

access_type
enum<string>
obrigatório
Opções disponíveis:
enterprise,
org
body
string
obrigatório
created_at
integer
obrigatório
folder_id
string | null
obrigatório
is_enabled
boolean
obrigatório
name
string
obrigatório
note_id
string
obrigatório
org_id
string | null
obrigatório
trigger
string
obrigatório
updated_at
integer
obrigatório