Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Delete a file

Server:https://openapi.felo.ai
Klientské knihovny

Files

​

Delete a file

​
Parametry cesty
  • file_id
    Typ: string · File Id
    povinné
Odpovědi
  • 200
    Typ: object · FileDeleted

    Successful Response

    • id
      Typ: string · Id
      povinné
    • type
      const:  
      file_deleted
      povinné
    application/json
  • 422
    Typ: object · HTTPValidationError

    Validation Error

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

Potřebujete pomoc?