Actions35
- File Actions
- Folder Actions
- Room Actions
- User Actions
User → Enable User
AI-generatedSummary
Enables a disabled ONLYOFFICE DocSpace user by setting their status to active, then returns the user's refreshed record.
Inputs
- Authentication (required) — Credential type used for the request: API Key, Basic Auth, OAuth2, or Personal Access Token. Defaults to API Key.
- User ID (required) — The user to enable. Pick from a searchable list of currently disabled users (fetched from DocSpace by status, filtered by your search text), or switch to Manual mode and enter or map an ID by expression.
Output shape
One output item per input item, containing the user object returned by DocSpace after the status change (fetched with a follow-up GET of the user by ID).
The enable call is a PUT to api/2.0/people/status/1 with the user ID in userIds. If it fails, the node throws an error, or with Continue On Fail emits an item with an
errormessage. The returned user record is whatever DocSpace gives back, so check its status field to confirm.
Examples
Example 1: Reactivate a returning employee picked from the list of disabled users.
Authentication: API Key; User ID: From List, select the user.
Example 2: Enable users dynamically from an upstream node that outputs a DocSpace user ID.
User ID: Manual mode with expression {{ $json.userId }}.