---
title: "Set the decision settings"
method: PATCH
path: "/owner/{ownerID}/context/{context}/decision/settings"
tags: ["Policy Management"]
---

# Set the decision settings

`PATCH /owner/{ownerID}/context/{context}/decision/settings`

This endpoint allows modifying decision settings (eg enable/disable policy evaluation)

## Path parameters

- `ownerID` string, required
- `context` string, required

## Request body

- DecisionSettings
  - `enabled` boolean

## Response `200`

Decision settings successfully set.

- DecisionSettings
  - `enabled` boolean

## Other responses

- `400` — The request is malformed (e.g, a given path parameter is invalid)
- `401` — The request is unauthorized
- `403` — The user is forbidden from making this request
- `500` — Something unexpected happened on the server.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
