API Reference
Delete File
Удаляет файл у поставщика и из списка аккаунта. Запросы со ссылкой на удалённый файл получают 404.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
file_id*string
Header Parameters
anthropic-version?string
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:8080/v1/files/string"{
"id": "string",
"type": "file_deleted"
}{
"error": {
"code": 0,
"message": "string",
"metadata": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": 0,
"message": "string",
"metadata": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": 0,
"message": "string",
"metadata": {
"property1": null,
"property2": null
}
}
}