---
title: "Patch Active User"
method: PATCH
path: "/v1/accounts/{account_id}/users/{user_id}/active_user"
tags: ["Users"]
---

# Patch Active User

`PATCH /v1/accounts/{account_id}/users/{user_id}/active_user`

**Authorization scope:** `user:list` 
 
 **Patch user active**

## Path parameters

- `account_id` string, required
- `user_id` string, required

## Request body

- PatchActiveUserInput — Patch is_active user input
  - `is_active` boolean, required — The user is active flag

## Response `200`

Successful Response

- UserModel — User model
  - `user_id` string, required — The user id
  - `user_email` string, required — The email of the user
  - `user_name` string, required — The user name
  - `environments` object, required — The user environments and permission
  - `is_admin` boolean, required — A flag that indicates whether the flag is admin
  - `is_global_operator` boolean — Indicates if the user is a global operator (read-only cross-account)
  - `status` string, required — The user status
  - `created_at` string, date-time, nullable — The user creation date
  - `last_login` string, date-time, nullable — The user's last login date
  - `updated_at` string, date-time, nullable — The user last update date
  - `groups` string[] — The user's groups
  - `source` string, required — The user source
  - `invited_by` string, nullable — The user who invited this user
  - `is_active` boolean, nullable — Indicates if the user is active
  - `onboarding` UserOnboardingModel — Onboarding steps model
    - `know_rivery_step` object, nullable — User finished first step
    - `data_connections_step` object, nullable — User finished second step
    - `data_pipeline_step` object, nullable — User finished third step
    - `transform_and_orchestrate_step` object, nullable — User finished fourth step
    - `pre_built_solutions_step` object, nullable — User finished fifth step
    - `invite_member_step` object, nullable — User finished sixth step
  - `is_super_admin` boolean, required — Indicates if the user is a super admin
  - `is_super_admin_creator` boolean, required — Indicates if the user is a super admin creator
  - `allow_login_password` boolean, required — Indicates if the user is allowed to login with password
  - `allow_login_google` boolean, required — Indicates if the user is allowed to login with google
  - `allow_login_sso` boolean, required — Indicates if the user is allowed to login with SSO

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/rivery/apis/boomi-data-integration-api.md) · [All operations](https://skmtc.net/rivery/apis/boomi-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivery/boomi-data-integration-api/revisions/4b3471151a8b/schema)
