---
title: "Update A Backup Policy"
method: PUT
path: "/organizations/{organization_id}/policies/{policy_id}"
tags: ["BackupPolicies"]
---

# Update A Backup Policy

`PUT /organizations/{organization_id}/policies/{policy_id}`

Update policy by id

## Path parameters

- `organization_id` string, required
- `policy_id` string, required

## Request body

- PutOrganizationsPoliciesByIdRequest
  - `created_at` string, date-time
  - `created_by` string
  - `deleted_at` string
  - `description` string
  - `encryption_mappings` string[]
  - `fls_index_freq` string
  - `id` integer
  - `inherit_tags` boolean
  - `is_active` boolean
  - `is_fls_indexed` boolean
  - `name` string
  - `organization_id` string
  - `resource_options` object
    - `ami_reboot` boolean
    - `ec2_amis` boolean
    - `policy_id` integer
    - `scripts` boolean
    - `vss` boolean
  - `rules` object[]
    - `accounts` object[]
      - `account_id` string
      - `rule_id` integer
    - `all_accounts` boolean
    - `all_regions` boolean
    - `all_resource_types` boolean
    - `created_at` string
    - `editable` boolean
    - `exclude` boolean
    - `id` integer
    - `policy_id` integer
    - `regions` string[]
    - `resource_types` string[]
    - `resources` object[]
      - `account_id` string
      - `region` string
      - `resource_id` string
      - `resource_name` string
      - `rule_id` integer
      - `type` string
    - `rule_type` string
    - `tags` string[]
    - `updated_at` string
  - `schedule_cron` string
  - `timezone_location` string
  - `updated_at` string, date-time

## Response `200`

200 response

- PutOrganizationsPoliciesByIdResponse
  - `id` integer
  - `resource_count` integer

## Other responses

- `201` — 201 response
- `401` — 401 response
- `403` — 403 response
- `404` — 404 response

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
