---
title: "Update obligations for a built-in role"
method: PATCH
path: "/v1/roles/built-in/{name}/obligations"
tags: ["Roles"]
---

# Update obligations for a built-in role

`PATCH /v1/roles/built-in/{name}/obligations`

Override the obligations for a built-in role (e.g., turn off the compliance obligation for owners). Permissions stay sourced from the hardcoded defaults.

## Path parameters

- `name` string, required

## Request body

- UpdateBuiltInObligationsDto
  - `obligations` BuiltInObligationsBody, required
    - `compliance` boolean — Whether the role must complete compliance tasks.

## Response `200`

Obligations updated

- object
  - `name` string
  - `obligations` object
    - `compliance` boolean

## Other responses

- `400` — Not a built-in role

## Changes

- **2026-06-04** `d7d0199d846f` — 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-05-29** `5382c53ab431` — 1 info
  - the endpoint scheme security `oauth2` was added to the API
- **2026-05-28** `aeefe4f00ad8` — 1 info
  - endpoint added
- **2026-05-28** `7c0713bef5b1` — 1 breaking
  - api path removed without deprecation
- **2026-05-25** `ecf6a8da31d2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/roles/built-in/:name/obligations/patch.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
