Skip to main content
PUT
/
document
/
update-many
Update many documents
curl --request PUT \
  --url https://app.myhero.so/document/update-many \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "docs": [
    {
      "_id": "<string>",
      "data": {
        "name": "<string>",
        "description": "<string>",
        "reference": "<string>",
        "parentId": "<string>",
        "isPublished": false
      }
    }
  ]
}
'
{
  "data": true
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
docs
object[]
required
Minimum array length: 1

Response

200 response

data
enum<boolean>
required
Available options:
true