Python
import requests url = "http://api/apollo/custom-rule-types" payload = { "schema": {} } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.text)
{ "id": "<string>" }
JSON-formatted configuration values
successful operation
Was this page helpful?