Skip to main content
DELETE
/
v1
/
instances
/
{instance_id}
/
files
curl -X DELETE "https://api.chowder.dev/v1/instances/ins_abc123/files?path=config/old-config.json" \
  -H "Authorization: Bearer YOUR_API_KEY"
No Content
Deletes a file or directory at the specified path on the instance. Be careful — this is permanent and there’s no undo.

Authentication

Requires an org-level API key or a scoped token with the appropriate permission.

Path Parameters

instance_id
string
required
The ID of the instance.

Query Parameters

path
string
required
The path of the file or directory to delete, relative to the instance root.

Response

Returns 204 No Content on success.
curl -X DELETE "https://api.chowder.dev/v1/instances/ins_abc123/files?path=config/old-config.json" \
  -H "Authorization: Bearer YOUR_API_KEY"
No Content