(collection_id: str, record_id: str)
| 38 | |
| 39 | |
| 40 | async def delete_record(collection_id: str, record_id: str): |
| 41 | headers = get_headers(CONFIG.Authentication) |
| 42 | async with aiohttp.ClientSession(headers=headers) as session: |
| 43 | request_url = f"{COLLECTION_BASE_URL}/{collection_id}/records/{record_id}" |
| 44 | response = await session.delete(request_url) |
| 45 | return ResponseWrapper(response.status, await response.json()) |