---
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

---

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