import requests
url = "https://{FUSION HOST}/api/users/{id}"
payload = {
"password": { "empty": True },
"passwordHash": "<string>",
"roleNames": ["<string>"],
"timezone": "<string>",
"permissions": [
{
"methods": ["GET"],
"path": "<string>",
"params": {}
}
],
"roles": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.json())