---
title: "Change a member's role"
method: PUT
path: "/api/v1/team/{id}"
tags: ["team"]
---

# Change a member's role

`PUT /api/v1/team/{id}`

## Request

- Base URL: `https://www.callagent.pro`
- URL: `https://www.callagent.pro/api/v1/team/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Saved

- object
  - `ok` boolean
  - `team` TeamMember[]
    - `id` integer, required
    - `name` string, required
    - `email` string, email, required
    - `role` string, required
    - `status` string, required: e.g. active, invited
    - `disabled` boolean, required
    - `owner` boolean, required: The account owner, who cannot be removed
    - `you` boolean, required: The member this API key belongs to
    - `initials` string, required
    - `tint` string, required: Avatar background colour
    - `ink` string, required: Avatar text colour

## Other responses

- `401`: Missing or invalid Bearer key
- `429`: Too many requests — see the endpoint's rate limit tier (agent-api 120/min, agent-api-heavy 6/min, agent-api-secrets 10/min)

---

[API](https://skmtc.dev/callagent/apis/callagent-pro-agent-api.md) · [All operations](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/revisions/38072cf8a24b?raw)
