Qontext icon

Qontext

Read, write and search your Qontext context repository

File → Update

AI-generated

Summary

Update a file’s name, parent folder, or protection setting with one PATCH request. The file keeps its ID; choose it by ID, searchable list, or absolute .md path.

Inputs

  • File ID (required) — Select the file by ID, from the searchable list, or by absolute path ending in .md.
  • Action — Choose one change: Rename, Move, or Set Protected. Defaults to Rename.
  • Name (required) — For Rename, provide the new file name, including its extension; the file stays in its current folder.
  • New Folder ID (required) — For Move, select the destination folder by ID or from the searchable list. Choose / (Root) to move the file to the root. The file keeps its ID and name.
  • Protected — For Set Protected, choose whether writes to the file go to review instead of being accepted directly.
  • Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.

Output shape

A single file record

The node sends only the field for the selected action in the PATCH request. The response shape is not further specified by the operation configuration.

Links

Discussion