Workspaces
Delete a workspace file
Deletes the file, its outputs, and its index and graph entries, as a file_delete job. Free.
delete/v1/workspaces/{id}/files/{file_id}
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The workspace's workspace_id.
file_idstring required
The file's file_id.
Query parameters
wait_secondsinteger
Hold the request open until the job finishes, up to this many seconds. 0 (default) returns at once; a value above 60 waits 60.
Headers
Idempotency-Keystring
Up to 200 characters, unique per account. Retry with the same key and body to get the same job instead of a second one.
Response
The job, finished within wait_seconds.
Changes
No recorded changes to this operation across all 1 revision of this API.