SetLicencePlatformExtensionPeriodAlertThresholds
Replace the usage alert thresholds of a capped module over a period. A threshold kept keeps its notification history. Refused once the period is over
Signature
mutation {
SetLicencePlatformExtensionPeriodAlertThresholds(id: ..., alertThresholds: ...)
}
Retourne : LicencePlatformExtensionPeriod!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
id | ID! | ✓ | — | — |
alertThresholds | [Int!]! | ✓ | — | Whole percentages of the annual cap, between 1 and 100, without duplicates |
Exemple
mutation {
SetLicencePlatformExtensionPeriodAlertThresholds(
id: $id
alertThresholds: $alertThresholds
) {
id
extension {}
status {}
enabled
activatedAt
hasUnlimitedUsage
annualCap
usage {}
alertThresholds
featurePeriods {}
}
}