---
title: "Update a custom role"
method: PATCH
path: "/v1/team/roles/{id}"
tags: ["Team"]
---

# Update a custom role

`PATCH /v1/team/roles/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/team/roles/{id}`
- Auth: HTTP bearer

Changes a custom role; its members get the change at once. Nobody changes their own role
or permissions, so a credential can never promote the person it acts for; a change may
grant only permissions that person holds, and the workspace always keeps a member who
holds `team`.

Scope: `team:write`. The person behind the credential needs the `team` permission
(Admins by default).

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `base_role` 'viewer' | 'member' | 'senior_member' | 'owner'
  - `permissions` string[]

## Response `200`

Update a custom role: done.

- union
  - object
  - unknown[]
    - unknown

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/team/roles/:id/patch.md)

---

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