Python
import requests url = "https://{FUSION HOST}/api/users" payload = { "username": "<string>", "realm": "<string>" } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.json())
{ "id": "<string>", "username": "<string>", "realmName": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "roleNames": [ "<string>" ], "timezone": "<string>", "permissions": [ { "methods": [ "GET" ], "path": "<string>", "params": {} } ] }
Create a new user
Show child attributes
Created
Was this page helpful?