SitesSLEs

updateSiteSleThreshold

PUT
/api/v1/sites/{site_id}/sle/{scope}/{scope_id}/metric/{metric}/threshold

Update the SLE threshold

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid
scope*string

enum: ap, client, gateway, site, switch

Value in

  • "ap"
  • "client"
  • "gateway"
  • "site"
  • "switch"
scope_id*string
  • site_id if scope==site
  • device_id if scope==ap, scope==switch or scope==gateway
  • mac if scope==client
metric*string

Values from listSiteSlesMetrics

Request Body

application/json

Threshold metadata and configured value for an SLE metric

maximum?number

Highest allowed threshold value for this SLE metric

minimum?number

Lowest allowed threshold value for this SLE metric

Response Body

curl -X PUT "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/sle/ap/000000ab-00ab-00ab-00ab-0000000000ab/metric/asymmetry-uplink/threshold" \  -H "Content-Type: application/json" \  -d '{    "maximum": -60,    "minimum": -90  }'
{  "default": -72,  "direction": "left",  "maximum": -60,  "metric": "coverage",  "minimum": -90,  "threshold": "-66",  "units": "dBm"}