---
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}`

## Request

- Base URL: `//apis.druva.com/awsnative` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/awsnative/organizations/{organization_id}/policies/{policy_id}`
- Auth: API key in header `Authorization`

Update policy by id

## Path parameters

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

## Request body

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

## Response `200`

200 response

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

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/aws-native.md) - [All operations](https://skmtc.dev/druva/apis/aws-native/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/aws-native/revisions/6dd34c53e5f5?raw)
