Files
Delete File
DELETE
/
file
/
{id}
curl --request DELETE \
--url https://api.vapi.ai/file/{id} \
--header 'Authorization: Bearer <token>'
{
"object": "file",
"status": "indexed",
"name": "<string>",
"originalName": "<string>",
"bytes": 123,
"purpose": "<string>",
"mimetype": "<string>",
"key": "<string>",
"path": "<string>",
"bucket": "<string>",
"url": "<string>",
"metadata": {},
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Path Parameters
Response
200 - application/json
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.vapi.ai/file/{id} \
--header 'Authorization: Bearer <token>'
{
"object": "file",
"status": "indexed",
"name": "<string>",
"originalName": "<string>",
"bytes": 123,
"purpose": "<string>",
"mimetype": "<string>",
"key": "<string>",
"path": "<string>",
"bucket": "<string>",
"url": "<string>",
"metadata": {},
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.