MaintenancePolicies

Update a maintenance policy

Changed on

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}

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/maintenance-policies/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Unique identifier for the maintenance policy.

Request body

namestring nullable

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.

allowMajorVersionUpdatesboolean nullable

Allow major version updates.

allowMinorVersionUpdatesboolean nullable

Allow minor version updates.

Response

OK

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
validityinteger nullable
expirationStrategy'immediate' | 'delayed' nullable
subscriptionIntervalstring nullable
subscriptionStartTrigger'license-creation' | 'license-activation'
allowMajorVersionUpdatesboolean required
allowMinorVersionUpdatesboolean required

Changes

    • breaking

      added the pattern ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$ to the request property

    • breaking

      the response property became nullable for the status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status