Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

Servidor:https://openapi.felo.ai
Bibliotecas cliente

Files

​

Delete a file

​
Parámetros de ruta
  • file_id
    Tipo: string · File Id
    obligatorio
Respuestas
  • 200
    Tipo: object · FileDeleted

    Successful Response

    • id
      Tipo: string · Id
      obligatorio
    • type
      constante:  
      file_deleted
      obligatorio
    application/json
  • 422
    Tipo: object · HTTPValidationError

    Validation Error

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

¿Necesitas ayuda?