latestSwagger 2.02026-08-109450223.9 KB

94acb422c07d

Reseller

Update a User's membership

patch/v1/accounts/{account_id}/memberships/{id}

Path parameters

account_idinteger required
idinteger required

Membership ID within Huntress account

Request body

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 on permissions. Accepted values:

Example request

{
  "permissions": "Security Engineer"
}

Response

Update a User's membership

Example response

{
  "membership": {
    "id": 1,
    "permissions": "Read-only",
    "account": {
      "id": 1234,
      "name": "Exemplary Accounting, LLC"
    },
    "organization": {
      "id": 5678,
      "name": "Organic Zations"
    },
    "user": {
      "id": 90210,
      "email": "little_bobby@example.com",
      "name": "Robert Tables"
    },
    "created_at": "2026-01-22 01:07:08 UTC",
    "updated_at": "2026-01-22 01:07:08 UTC"
  }
}