Files
Files ऑपरेशन
Delete a file
पाथ पैरामीटर
- टाइप: string · File Idfile
_id आवश्यक
responses
- टाइप: object · FileDeleted200
Successful Response
- टाइप: string · Ididआवश्यक
- typeconst:file_deletedआवश्यक
application/json - टाइप: object · HTTPValidationError422
Validation Error
- टाइप: array object[] · Detaildetail
- locटाइप: array · Locationआवश्यक
- टाइप: string
- msgटाइप: string · Messageआवश्यक
- typeटाइप: string · Error Typeआवश्यक
- ctxटाइप: 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"
}