---
title: "Activate or deactivate a user's organization membership"
method: PATCH
path: "/organizations/{organization_id}/users/{user_id}"
tags: ["Organizations"]
---

# Activate or deactivate a user's organization membership

`PATCH /organizations/{organization_id}/users/{user_id}`

Activate or deactivate a user's membership in the organization.

Deactivating preserves the membership and role but blocks the user's access
to this organization; reactivating restores it.

## Path parameters

- `organization_id` string, required
- `user_id` string, required

## Request body

- UpdateUserActiveRequest — Request model to activate or deactivate a user's organization membership.
  - `is_active` boolean, required — True to reactivate the user's membership, False to deactivate it. Deactivating blocks the user's access to this organization while preserving their membership and role.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
