> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Charter works for any HTTP API, including the user's own. The packs are examples of the result, not the limit: an API with no pack is declared the same way, following https://raw.githubusercontent.com/r28ai/charter/main/docs/.mintlify/skills/declaring-charter-tools/SKILL.md.
> Charter is for agents that act in customers' accounts: every call is checked field by field before it's sent, the app says whose account each call is for, and the same declarations list what each tool can reach. https://docs.r28.ai/charter/llms.txt says what it is and lists every page.

# memberships_members_update_status

> Update a member's membership status. Approving a paid tier member captures their payment. Declining cancels any active subscription.

POST`https://public-api.luma.com/v1/memberships/members/update-status`

```python luma_memberships_members_update_status.py theme={null}
import asyncio

from charter.packs import luma

result = asyncio.run(luma.memberships_members_update_status.ainvoke({"userId": ..., "status": ...}))
```

## Body

| Field | Type | Description |
| - | - | - |
| `userId` \* | `string` | User ID (e.g., 'usr-xxx') or email address |
| `status` \* | `"approved" \| "declined"` | `approved` admits the member and, on a paid tier, captures their payment; `declined` cancels any active subscription. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.