Tried that with:
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {bearer_token}"
}
where bearer token is the token I normally for accessing my generators
response = requests.post(url, headers=headers, data=json.dumps(body))
The start of the authorisation is...