---
title: "Set Source Approval Policy Endpoint"
method: PUT
path: "/v1/sources/{source_id}/approval-policy"
tags: ["sources"]
---

# Set Source Approval Policy Endpoint

`PUT /v1/sources/{source_id}/approval-policy`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/sources/{source_id}/approval-policy`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Path parameters

- `source_id` string, required

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- SourcePolicyBindingSet
  - `expected_version` integer, required
  - `policy_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/actionbox/apis/actionbox-api.md) · [All operations](https://skmtc.dev/actionbox/apis/actionbox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/actionbox/apis/actionbox-api/revisions/bfb9b622e725?raw)
