---
search:
  tags:
    - Users
    - PATCH
seo:
  description: >-
    Sets a user's active status immediately or schedules
    activation/deactivation… Reference for the PATCH /users/{id}/activity
    endpoint in the Fuxam API v4.
sidebar:
  label: Update user activity
  badge: PATCH
title: Update user activity
type: openapi-operation
---
Sets a user's active status immediately or schedules activation/deactivation dates. Provide `isActive` to change status now (clears scheduled dates), or provide one or both of `setActiveOn` / `setInactiveOn` to schedule changes. Omitting a scheduled date field leaves the existing value unchanged.

`PATCH /users/{id}/activity`
