Update a backup policy

Contributors

PUT /account/{accountId}/providers/cloudmanager_cbs/api/v2/working-environment/{workingEnvironmentId}/backup-policy

Updates a backup policy in a working environment. This API endpoint modifies the rule, label-rule, retention, and archive-after-days information.

Token usage: Cloud Manager user token.

Parameters

Name Type In Required Description

accountId

string

path

True

Account ID

workingEnvironmentId

string

path

True

Working environment ID

authorization

string

header

True

User token

x-agent-id

string

header

True

Request identifier

Request Body

Name Type Required Description

policyName

string

True

Backup policy name

rule

array[rule]

True

archive-after-days

string

False

Archive after days value to which the policy will be modified. "never" implies the removal of the archive-after-days property from a backup policy

Response

Status: 200, Default response
Name Type Required Description

name

string

False

Definitions

rule
Name Type Required Description

label

string

False

retention

string

False

body
Name Type Required Description

policyName

string

True

Backup policy name

rule

array[rule]

True

archive-after-days

string

False

Archive after days value to which the policy will be modified. "never" implies the removal of the archive-after-days property from a backup policy