Volumes
Delete volume file
DELETE
/
v1
/
volumes
/
{name}
/
files
/
{path}
Delete volume file
curl --request DELETE \
--url https://api.veri.studio/v1/volumes/{name}/files/{path} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/volumes/{name}/files/{path}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/volumes/{name}/files/{path}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Volume id or name
File path within the volume, without the leading '/'. One path segment: percent-encode any '/' in a nested path (data/a.txt is sent as data%2Fa.txt); an unencoded nested path does not match this route and returns 404.
Response
File deleted (size accounting updated). Also returned when no file exists at the path.
Delete volume file
curl --request DELETE \
--url https://api.veri.studio/v1/volumes/{name}/files/{path} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/volumes/{name}/files/{path}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/volumes/{name}/files/{path}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
