(action_id: str)
| 40 | |
| 41 | |
| 42 | async def delete_action(action_id: str): |
| 43 | headers = get_headers(CONFIG.Authentication) |
| 44 | async with aiohttp.ClientSession(headers=headers) as session: |
| 45 | request_url = f"{ACTION_BASE_URL}/{action_id}" |
| 46 | response = await session.delete(request_url) |
| 47 | return ResponseWrapper(response.status, await response.json()) |
| 48 | |
| 49 | |
| 50 | async def run_action(action_id: str, payload: Dict): |