Update User
nextcloud.update_user
ActionFiles & storageconnection required
Calls the Nextcloud API with the connection's credentials.
Change one field on a user. The provisioning API updates a single field per call, so use one node per field you need to change.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Nextcloud
- Secret shape
- {"username": "…", "password": "<app password>"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user_id The Nextcloud user id (the login name, not the display name). | string | Yes | — | — | — |
key Which field to change. | string | Yes | — | one of "email", "quota", "displayname", "phone", "address", "website", "twitter", "password" | — |
value The new value for that field. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True — Nextcloud accepted the change. | boolean | — |
user_id The account that was changed. | string | — |
key The field that was changed. | string | — |
status Nextcloud's OCS status word. | string | ok |
status_code The OCS meta statuscode: 100 on v1, 200 on v2. | number | — |
message The OCS meta message, when the server set one. | string | — |
total_items Total matching items, when the endpoint reports it. | string | — |
items_per_page Page size, when the endpoint reports it. | string | — |
{
"items_per_page": "",
"key": "",
"message": "",
"ok": false,
"status": "ok",
"status_code": 0,
"total_items": "",
"user_id": ""
}See Update User run in a workflow.
In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.