Skip to main content
POST
Update the parents of a document

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

Unique string identifier for the workspace

spaceId
string
required

ID of the space

dsId
string
required

ID of the data source

documentId
string
required

ID of the document

Body

application/json
parent_id
string

Direct parent ID of the document

parents
string[]

Document and ancestor ids, with the following convention: parents[0] === documentId, parents[1] === parentId, and then ancestors ids in order

Response

The parents were updated