Files
Files 操作
Delete a file
路径参数
- 类型: string · File Idfile
_id 必填
响应
- 类型: object · FileDeleted200
Successful Response
- 类型: string · Idid必填
- type常量:file_deleted必填
application/json - 类型: object · HTTPValidationError422
Validation Error
- 类型: array object[] · Detaildetail
- loc类型: array · Location必填
- 类型: string
- msg类型: string · Message必填
- type类型: string · Error Type必填
- ctx类型: object · Context
- input
application/json
Request Example for delete/api/v1/files/{file_id}
curl 'https://openapi.felo.ai/api/v1/files/{file_id}' \
--request DELETE \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"type": "file_deleted"
}