Update a file
Update a folder or document, such as a workbook, data model, or report.
Usage notes
- Retrieve the inodeId by calling the /v2/files endpoint and using the
idincluded in the response. - Specify a parentId to place the document within a folder. Retrieve the ID to use as a parentId by calling the /v2/files endpoint and reviewing the
idfield in the response for files with atypeoffolder. - To restore a deleted folder or document, set the restore parameter to
true.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
inodeId
Request
The request body.
name
description
ownerId
parentId
Folder ID to contain the folder or document
restore
Response
The response body.
id
urlId
name
type
parentId
parentUrlId
permission
path
badge
isArchived
createdBy
The identifier of the user who created this object.
updatedBy
The identifier of the user or process that last updated this object.
createdAt
When the object was created.
updatedAt
When the object was last updated.
description
ownerId
parentSourceUrlId
For a document deployed to a tenant organization, the urlId of the source document in the parent organization. Only present when the document was deployed from a parent organization. The source document can be a workbook, template, data model, dataset, or report.

