Skip to content

Update a backup-policy

PUT
/backup-policies/{id}
id
required
string

DocumentId

object
data
object
name
required
string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
provider
string
Allowed values: aws azure gcp all
schedule
required
string
retention_days
integer
tags

Arbitrary JSON value (object, array, string, number, boolean, or null)

is_active
boolean
attached_instances
One of:

DocumentId reference to api::cloud-instance.cloud-instance

string
last_applied_at
string format: date-time
provider_policy_ids

Arbitrary JSON value (object, array, string, number, boolean, or null)

status
string
Allowed values: active inactive error pending

Updated

object
data
object
name
required
string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
provider
string
Allowed values: aws azure gcp all
schedule
required
string
retention_days
integer
tags

Arbitrary JSON value (object, array, string, number, boolean, or null)

is_active
boolean
attached_instances
One of:

DocumentId reference to api::cloud-instance.cloud-instance

string
last_applied_at
string format: date-time
provider_policy_ids

Arbitrary JSON value (object, array, string, number, boolean, or null)

status
string
Allowed values: active inactive error pending
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found