PUT customers/{customerId}/subscription
Updates customer's subscription.
URL Parameters
Name | Description |
---|---|
customerId |
Request example and description
curl --request PUT "https://api-asm1.apica.io/v3/customers/789/subscription?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{ \"subscription_type\": \"Standard\", \"period_from_utc\": \"2024-12-22T04:51:18\", \"period_to_utc\": \"2024-12-22T04:51:18\", \"global_check_quota\": 1000, \"alert_sms_quota\": 10000, \"alert_email_quota\": 1, \"enabled\": true }"
Name | Type | Required | Description |
---|---|---|---|
subscription_type | String | No |
The customer's subscription type. Available values: 'Standard', 'PoC', 'Evaluation', 'Trial' |
period_from_utc | DateTime | Yes |
Subscription start period. |
period_to_utc | DateTime | Yes |
Subscription end period. |
global_check_quota | Integer | Yes |
The checks quota. |
alert_sms_quota | Integer | Yes |
SMS alerts quota. |
alert_email_quota | Integer | Yes |
SMS alerts quota is enabled. |
enabled | Boolean | No |
Subscription is enabled. |