---
title: "Update a User's membership"
method: PATCH
path: "/v1/accounts/{account_id}/memberships/{id}"
tags: ["Reseller"]
---

# Update a User's membership

`PATCH /v1/accounts/{account_id}/memberships/{id}`

## Path parameters

- `account_id` integer, required
- `id` integer, required

## Request body

- MembershipUpdateParameters — Update a User's membership
  - `permissions` 'Admin' | 'Finance' | 'Marketing' | 'Provisioner' | 'Read-only' | 'Security Engineer' | 'User' — The specific level of permissions that have been granted to the user in the context of this membership. For more information, see our [support article](https://support.huntress.io/hc/en-us/articles/4404012728083-Huntress-Portal-User-Permissions) on permissions. Accepted values:

## Response `200`

Update a User's membership

- object
  - `membership` Membership — Membership model
    - `id` integer — A unique identifier for this membership. Note that this is _not_ the id of the user, account, etc. Instead, it identifies this specific relationship, which can be used to modify or delete the membership.
    - `permissions` 'Admin' | 'Security Engineer' | 'User' | 'Read-only' | 'Finance' | 'Marketing' | 'Admin-Read-only' | 'Provisioner' — The specific level of permissions that have been granted to this user in the context of this membership.
    - `account` unknown
    - `organization` unknown
    - `user` unknown
    - `created_at` string — The time and date that this membership was created.
    - `updated_at` string — The time and date that this membership was last updated.

## Other responses

- `400` — Something about the request is malformed.
- `403` — There was an issue with your API credential or permissions.
- `422` — Something prevented the update.

---

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