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"
}