---
title: "Change a member's role or billing access"
method: PATCH
path: "/v1/team/members/{id}"
tags: ["Team"]
---

# Change a member's role or billing access

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

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/team/members/{id}`
- Auth: HTTP bearer

Send role, can_manage_billing, or both. Owners and admins can change roles under the same rules as the Members page (an admin cannot touch an owner, a team keeps at least one owner). Only an owner can change billing access. The member gets an email when their role changes. Requires the team:manage scope.

## Path parameters

- `id` string, required

## Request body

- object
  - `role` 'owner' | 'admin' | 'member'
  - `can_manage_billing` boolean

## Response `200`

The changed fields

- object

## Other responses

- `400`: Bad request - check your payload
- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
