Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

Serveur:https://openapi.felo.ai
Bibliothèques clientes

Files

​

Delete a file

​
Paramètres de chemin
  • file_id
    Type: string · File Id
    obligatoire
Réponses
  • 200
    Type: object · FileDeleted

    Successful Response

    • id
      Type: string · Id
      obligatoire
    • type
      constante:  
      file_deleted
      obligatoire
    application/json
  • 422
    Type: object · HTTPValidationError

    Validation Error

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

Besoin d'aide ?