From 87434ba3313341e4f100502ba8bc53223f207267 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Mon, 1 Dec 2025 09:40:01 -0500 Subject: [PATCH] Update docs for /api/v4/users/ID/active (#34609) This is based on some feedback that the existing docs could be confused with the "active users" statistics in the System Console --- api/v4/source/users.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/v4/source/users.yaml b/api/v4/source/users.yaml index 1d43f8e2126..bcefb4746d3 100644 --- a/api/v4/source/users.yaml +++ b/api/v4/source/users.yaml @@ -1040,9 +1040,9 @@ put: tags: - users - summary: Update user active status + summary: Activate or deactivate a user description: > - Update user active or inactive status. + Activate or deactivate a user's account. A deactivated user can't log into Mattermost or use it without being reactivated. __Since server version 4.6, users using a SSO provider to login can be activated or deactivated with this endpoint. However, if their activation status in Mattermost does not reflect their status in the SSO provider, the next synchronization or login by that user will reset the activation status to that of their account in the SSO provider. Server versions 4.5 and before do not allow activation or deactivation of SSO users from this endpoint.__ @@ -1070,11 +1070,11 @@ properties: active: type: boolean - description: Use `true` to set the user active, `false` for inactive + description: Use `true` to activate the user or `false` to deactivate them required: true responses: "200": - description: User active status update successful + description: User activation/deactivation update successful content: application/json: schema: