Create a maintenance policy

Creates a new maintenance policy.

POST/v3/maintenance-policies
JWTmaintenancePolicy:write

Request body

namestringrequired

Name of the maintenance policy. Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

Length: [1,256]Pattern: ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$

allowMajorVersionUpdatesbooleanrequired

Allow major version updates.

allowMinorVersionUpdatesbooleanrequired

Allow minor version updates.

subscriptionIntervalstring

The length of time which determines the subscription renewal cadence. ISO8601 durations accepted.

Length: [0,256]

subscriptionStartTriggerstring

Allowed values: license-creation, license-activation

Response

201 Created

idstringrequired
createdAtstringrequired

Format: date-time

updatedAtstringrequired

Format: date-time

namestringrequired
allowMajorVersionUpdatesbooleanrequired
allowMinorVersionUpdatesbooleanrequired
validityinteger

Format: int64

expirationStrategystring

Allowed values: immediate, delayed

subscriptionIntervalstring
subscriptionStartTriggerstring

Allowed values: license-creation, license-activation