Files
Files آپریشنز
Delete a file
پاتھ پیرامیٹرز
- قسم: string · File Idfile
_id لازمی
جوابات
- قسم: 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"
}