---
title: "Update a team member"
method: PATCH
path: "/teams/{team_id}/members/{member_id}"
tags: ["Teams"]
---

# Update a team member

`PATCH /teams/{team_id}/members/{member_id}`

## Request

- Base URL: `https://app.honeybadger.io/v3`
- URL: `https://app.honeybadger.io/v3/teams/{team_id}/members/{member_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/honeybadger/apis/honeybadger-api/docs/teams/:team_id/members/:member_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates a team member's role.

## Path parameters

- `team_id` string, required
- `member_id` string, required

## Request body

- TeamMemberInput: Writable team-member attributes
  - `admin` boolean, required: Team admins can manage the team's projects and membership

## Response `200`

Success

- object
  - `data` TeamMember, required: A member of a team
    - `id` string, required
    - `team_id` string, required: ID of the team
    - `user_id` string, required: ID of the user
    - `admin` boolean, required: Whether the member has admin privileges on the team
    - `name` string, nullable: Member name
    - `email` string, required: Member email
    - `created_at` string, date-time: When the member was added to the team
  - `meta` ResponseMeta
    - `request_id` string: Unique identifier for the request, for correlating with support

## Other responses

- `401`: The credential is missing, invalid, expired or revoked (`unauthorized`), or was sent in a way v3 doesn't accept (see the examples).
- `403`: The credential isn't allowed to do this. `error.code` says why. An account or project the credential doesn't cover is 404 `not_found`, not 403.
- `404`: Resource not found
- `422`: Validation error

---

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