Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

Server:https://openapi.felo.ai
Librerie client

Files

​

Delete a file

​
Parametri di percorso
  • file_id
    Tipo: string · File Id
    obbligatorio
Risposte
  • 200
    Tipo: object · FileDeleted

    Successful Response

    • id
      Tipo: string · Id
      obbligatorio
    • type
      const:  
      file_deleted
      obbligatorio
    application/json
  • 422
    Tipo: object · HTTPValidationError

    Validation Error

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

Serve aiuto?