---
title: "Update an account member"
method: PATCH
path: "/account/members/{member_id}"
tags: ["Accounts"]
---

# Update an account member

`PATCH /account/members/{member_id}`

## Request

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

Updates a member's role or settings within the account.

## Path parameters

- `member_id` string, required

## Request body

- AccountMemberInput: Writable account-member attributes
  - `role` 'Owner' | 'Admin' | 'Member', required: A member's role in the account.

## Response `200`

Success

- object
  - `data` AccountMember, required: A member of an account
    - `id` string, required
    - `account_id` string, required: ID of the account
    - `user_id` string, required: ID of the user
    - `role` 'Owner' | 'Admin' | 'Member', required: A member's role in the account.
    - `email` string, required: Member email address
    - `name` string, nullable: Member display name
    - `created_at` string, date-time: When the member was added to the account
  - `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)
