Set a region's release policy
PUT/apis/cra.diagrid.io/v1beta2/regions/:RegionId/releasesubscription
Choose the release channel a region follows, or hold its upgrades. Holding requires a reason and a review time, and the review time must be in the future and no more than 90 days away; reaching it does not resume upgrades, it marks the policy as needing a decision. Pinning a version, permitting a downgrade and setting freeze windows are reserved to Diagrid, and a value this request does not carry is preserved rather than cleared.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- default
The region's release policy, as it now stands.
The request is not valid, for example the body has an unknown field or a value that fails validation.
Authentication failed: the credentials are missing or not valid, or the x-diagrid-orgid header names a different organization than the credentials.
You are not authorized to perform this action, or the change is one only Diagrid can make.
The region was not found, or has no release policy yet.
Unexpected error.