import requests # Test deleting user ID 5 url = "http://localhost:8000/users/5/admin" # You'll need to replace this with a valid admin token headers = { "Authorization": "Bearer YOUR_ADMIN_TOKEN_HERE" } response = requests.delete(url, headers=headers) print(f"Status Code: {response.status_code}") print(f"Response: {response.json()}")