Delete a file

Delete a file and remove it from all vector stores.

Request

DELETE

https://ai.api.cloud.yandex.net/v1/files/{file_id}

Path parameters

Name

Description

file_id

Type: string

The ID of the file to use for this request.

Example: ``

Responses

200 OK

OK

Body

application/json
{
  "id": "example",
  "object": "file",
  "deleted": true
}

Name

Description

deleted

Type: boolean

id

Type: string

Example: example

object

Type: string

Const: file

Example: example