Files
Files عملیات
Delete a file
پارامترهای مسیر
- نوع: string · File Idfile
_id الزامی
پاسخها
- نوع: object · FileDeleted200
Successful Response
- نوع: string · Ididالزامی
- typeمقدار ثابت: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"
}