Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

เซิร์ฟเวอร์:https://openapi.felo.ai
ไลบรารีไคลเอนต์

Files

​
Files การดำเนินการ

Delete a file

​
พารามิเตอร์ในพาธ
  • file_id
    ประเภท: string · File Id
    จำเป็น
การตอบกลับ
  • 200
    ประเภท: object · FileDeleted

    Successful Response

    • id
      ประเภท: string · Id
      จำเป็น
    • type
      const:  
      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

ต้องการความช่วยเหลือไหม