---
title: "PUT /v1/policy"
method: PUT
path: "/v1/policy"
---

# PUT /v1/policy

`PUT /v1/policy`

The name of the policy.

## Query parameters

- `registryName` string

## Request body

- object
  - `Policy` string, required — The resource-based policy.
  - `RevisionId` string — The revision ID of the policy.

## Response `200`

Success

- PutResourcePolicyResponse
  - `Policy` string — The resource-based policy.
  - `RevisionId` string — The revision ID of the policy.

## Other responses

- `480` — BadRequestException
- `481` — UnauthorizedException
- `482` — PreconditionFailedException
- `483` — InternalServerErrorException
- `484` — ForbiddenException
- `485` — NotFoundException
- `486` — ServiceUnavailableException

---

[API](https://skmtc.net/aws/apis/schemas.md) · [All operations](https://skmtc.net/aws/apis/schemas/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/schemas/versions/90794fa9ec05/schema)
