Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

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

Files

​

Delete a file

​
Parameter Laluan
  • file_id
    Jenis: string · File Id
    wajib
Respons
  • 200
    Jenis: object · FileDeleted

    Successful Response

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

    Validation Error

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

Perlukan bantuan?