v45

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-143613122.6 KB
vals

Deletes a file or a directory. To delete a directory and all of its children, use the recursive flag. To delete all files, pass in an empty path and the recursive flag.

delete/v2/vals/{val_id}/files

Path parameters

val_idstring uuid required

Id of a val

Query parameters

branch_idstring uuid

The specified branch of the resource. Defaults to main if not provided.

pathstring required

Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory.

recursiveboolean required

Whether to recursively act on all files in the project

Response

Default Response