Yandex Cloud Registry API, REST: LifecyclePolicy.ChangeState
Written by
Updated at March 4, 2026
Changes the state of the specified lifecycle policy.
HTTP request
POST https://registry.api.cloud.yandex.net/cloud-registry/v1/lifecyclePolicies/{policyId}:changeState
Path parameters
|
Field |
Description |
|
policyId |
string Required field. ID of the lifecycle policy to change state. The maximum string length in characters is 50. |
Body parameters
{
"state": "string"
}
|
Field |
Description |
|
state |
enum (LifecyclePolicyState) Required field. Target state of the lifecycle policy.
|
Response
HTTP Code: 200 - OK