Admin Management API

This section includes Threshold Admin Management API with examples.

Create a notification

The sample curl command resembles the following code:

curl -X POST \
-H 'X-TenantID: <tenant_id>' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-i 'https://<threshold_route_address>/thresholdmgmt/0.8/notifications' 
--data '[{"name": "vmVirtualMachine"}]'

The response resembles the following code:

Status Code: 201 Created
content-length: 0
date: Fri, 25 Sep 2020 05:19:56 GMT
servedby: icam-threshold-5f4488f6b8-nvb48
server: Jetty(9.4.28.v20200408)
x-tenantid: id-mycluster-account
x-transactionid: 032ac1b7-baea-44e9-a7d3-5194797f0b16