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

需要協助嗎?