Update a maintenance policy

Updates the specified maintenance policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

PATCH/v3/maintenance-policies/{id}
JWTmaintenancePolicy:write

Path parameters

idstringrequired

Unique identifier for the maintenance policy.

Request body

namestring

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}]+$

allowMajorVersionUpdatesboolean

Allow major version updates.

allowMinorVersionUpdatesboolean

Allow minor version updates.

Response

200 OK

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