Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

Server:https://openapi.felo.ai
Pustaka Klien

Files

​

Delete a file

​
Parameter Jalur
  • file_id
    Tipe: string · File Id
    wajib
Respons
  • 200
    Tipe: object · FileDeleted

    Successful Response

    • id
      Tipe: string · Id
      wajib
    • type
      const:  
      file_deleted
      wajib
    application/json
  • 422
    Tipe: object · HTTPValidationError

    Validation Error

    • detail
      Tipe: array object[] · Detail
      • loc
        Tipe: array · Location
        wajib
          • Tipe: string
      • msg
        Tipe: string · Message
        wajib
      • type
        Tipe: string · Error Type
        wajib
      • ctx
        Tipe: 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

Butuh bantuan?