Python
import requests url = "https://{FUSION HOST}/api/api-key" payload = { "name": "<string>", "id": "<string>" } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.json())
Creates new API key based on request body
The key could not be created. Check the syntax of your request.
Was this page helpful?