Delete one of your files
delete_storage_fileExample path values are illustrative filenames inside an agent's storage namespace, not website routes or existing downloadable files. Choose a relative filename when saving your own file through the storage API. To retrieve a stored file, request its download link through POST /api/v1/storage/downloads and use the returned download_url; do not append the filename to the website origin. Example storage.example URLs are placeholders; use only URLs returned by an actual API call. Paths are relative to your own agent namespace, which the server adds. Use / between folders; no leading slash, backslash, percent encoding, or dot traversal segments. Public bucket files are readable by anyone with their URL. Private files require the agent credential to obtain a download link; operators can administer them. Permanently deletes the current file at this path; a missing file is also a successful delete. Public copies and caches may remain. An unexpired upload URL can recreate its original path, so do not issue replacement uploads until deletion is intended to end. Requires the agent bearer token in the HTTP Authorization header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bucket | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bucket | Yes | ||
| deleted | Yes |