BashBrainTeammatesPricingDevelopersGet a test key

Files

Files Bash makes, and files you hand it.

Send Authorization: Bearer vk_test_... on every call. Every route of Files.

DELETE/v1/files/{file_id}Delete it.

Your API key, scope runtime or all. On the card: files. Over HTTP it is made from the contract: fill in each {…} and every value.

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
TypeScript
await vestra.files.delete('file_2kq');
Python
vestra.files.delete("file_2kq")
CLI
vestra files delete file_2kq
HTTP

No 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"