---
title: "Update a member"
method: PUT
path: "/v1/config/members/{email}"
tags: ["Members"]
---

# Update a member

`PUT /v1/config/members/{email}`

Updates all the fields described in the request body of the specified member. Creates a member if the member doesn't exist already. Fields left out of the body will remain unaffected.

## Path parameters

- `email` string, required — Email of a member

## Request body

- MembersPut
  - `role` 'owner' | 'admin' | 'readonly' | 'member' — role of member. Owner shall not be created or set through api
  - `groups` RbacGroupId[]

## Response `200`

The update was successful; the member resource is returned with updated fields.

- MemberResource
  - `email` string — Email of a member
  - `role` 'owner' | 'admin' | 'readonly' | 'member' — role of member. Owner shall not be created or set through api
  - `groups` RbacGroupId[]

## Other responses

- `400` — The supplied request is invalid or malformed.
- `409` — The supplied request leads to an invalid state. The returned error will contain more helpful information.

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/revisions/fb2535545d90/schema)
