Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

服务器:https://openapi.felo.ai
客户端库

Files

​

Delete a file

​
路径参数
  • file_id
    类型: string · File Id
    必填
响应
  • 200
    类型: object · FileDeleted

    Successful Response

    • id
      类型: string · Id
      必填
    • type
      常量:  
      file_deleted
      必填
    application/json
  • 422
    类型: object · HTTPValidationError

    Validation Error

    • detail
      类型: array object[] · Detail
      • 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"
}
Delete a file

需要帮助?