Skip to main content
PATCH
/
documents
/
{documentId}
Update document
curl --request PATCH \
  --url https://api.getarbol.com/v1/documents/{documentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "summary": "<string>",
  "isEnabled": true
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": {}
  },
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.

Path Parameters

documentId
string
required

Document ID

Body

application/json
name
string
summary
string | null
isEnabled
boolean

Response

Updated document