---
title: "Associate policy with action"
method: POST
path: "/approval/action/{id}/policy"
tags: ["Action"]
---

# Associate policy with action

`POST /approval/action/{id}/policy`

Associates a policy with the specified approval action.

## Path parameters

- `id` integer, required

## Request body

- object
  - `policy_id` integer — The ID of the policy to associate.

## Response `200`

The operation was successful.

- object
  - `success` boolean — Indicates whether the operation was successful.

## Other responses

- `4XX` — Client error responses due to invalid input or missing parameters.
- `5XX` — Server error responses indicating an issue on the API side.

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) · [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nullplatform/nullplatform-api/revisions/1c4ea154b159/schema)
