Skip to main content
PUT
/
v2
/
teams
/
{teamId}
/
files
/
content
/
{path}
Update File Content
curl --request PUT \
  --url https://api.duvo.ai/v2/teams/{teamId}/files/content/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

path
string
required

Path of the file relative to the team's storage root

Minimum string length: 1
teamId
string
required

Body

application/json
content
string
required

New UTF-8 text content for the file

Response

Default Response

success
boolean
required

True if the operation succeeded