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"
}