Skip to main content
POST
/
v1.0
/
subscriptions
/
thresholds
/
update
Update Threshold
curl --request POST \
  --url https://api.telegent.com/v1.0/v1.0/subscriptions/thresholds/update \
  --header 'Content-Type: application/json' \
  --data '
{
  "ThresholdId": "THID-a1b2c3d4-0000-0000-0000-000000000001",
  "ThresholdName": "90% Data Alert",
  "ThresholdType": "Data",
  "ThresholdAmount": 90,
  "ThresholdUnit": "MB",
  "ThresholdAction": "Pause"
}
'
{
  "ThresholdId": "THID-a1b2c3d4-0000-0000-0000-000000000001",
  "AccountId": "AID-1234567",
  "ThresholdName": "80% Data Alert",
  "ThresholdType": "Data",
  "ThresholdAmount": 80,
  "ThresholdUnit": "MB",
  "ThresholdAction": "Alert",
  "Active": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.telegent.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

Update_Threshold_Request object

ThresholdId
string
required

ID of the threshold to update (THID-).

Example:

"THID-a1b2c3d4-0000-0000-0000-000000000001"

ThresholdName
string | null

Updated threshold name.

Example:

"90% Data Alert"

ThresholdType
string | null

Updated resource type: Data, SMS, or Voice.

Example:

"Data"

ThresholdAmount
integer | null

Updated trigger amount.

Example:

90

ThresholdUnit
string | null

Updated unit: MB, GB, or Count.

Example:

"MB"

ThresholdAction
string | null

Updated action: Alert, Pause, or Restrict.

Example:

"Pause"

Response

Updated threshold record

The response is of type object.