Files
Files Bash makes, and files you hand it.
DELETE/v1/files/{file_id}Delete it.
Request1 field
Path
file_idstringrequiredThe file's id (file_...).
- Type
string
Answers 2003 fields
idstringThe file (file_...).
- Type
string
object"file"Always file.
- Type
"file"
deletedtrueAlways true: it is gone.
- Type
true
await vestra.files.delete('file_2kq');vestra.files.delete("file_2kq")vestra files delete file_2kqNo sample in your language for this route, so here it is over HTTP.
curl -X DELETE "$VESTRA_BASE_URL/v1/files/{file_id}" \ -H "Authorization: Bearer $VESTRA_API_KEY"