---
title: "Update Membership"
method: PUT
path: "/communities/memberships/{id}"
tags: ["Communities::Membership"]
---

# Update Membership

`PUT /communities/memberships/{id}`

Update a community membership (e.g. moderator status or space memberships)

## Path parameters

- `id` string, required

## Request body

- object
  - `communities_membership` CommunitiesMembershipParametersUpdate — Communities::Membership
    - `moderator` boolean, nullable — Whether this member should have moderator privileges
    - `space_ids` string[], nullable — Array of Space public IDs the member should belong to. The membership form syncs the member's Space memberships to exactly this list — Spaces not in the list are removed, Spaces in the list are added.

## Response `200`

OK

- CommunitiesMembershipAttributes — Communities::Membership
  - `id` integer — Membership ID
  - `public_id` string, nullable — Membership public ID
  - `community_id` integer — ID of the Community this membership belongs to
  - `moderator` boolean, nullable — Whether this member has moderator privileges in the community
  - `created_at` string, date-time — Created at
  - `updated_at` string, date-time — Updated at
  - `contact` object, nullable — The member Contact (null if the contact has been removed)
    - `id` integer — Contact ID
    - `public_id` string, nullable — Contact public ID
    - `email_address` string, nullable — Contact email address
    - `first_name` string, nullable — Contact first name
    - `last_name` string, nullable — Contact last name
    - `phone_number` string, nullable — Contact phone number

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/versions/ae6313eaa176/schema)
