Yandex Cloud Registry API, REST: LifecyclePolicy.ChangeState
Статья создана
Обновлена 30 октября 2025 г.
Changes the state of the specified lifecycle policy.
HTTP request
POST https://registry.api.yandexcloud.kz/cloud-registry/v1/lifecyclePolicies/{policyId}:changeState
Path parameters
|
Field |
Description |
|
policyId |
string Required field. ID of the lifecycle policy to change state. |
Body parameters
{
"state": "string"
}
|
Field |
Description |
|
state |
enum (LifecyclePolicyState) Required field. Target state of the lifecycle policy.
|
Response
HTTP Code: 200 - OK