TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

Users → Update User

AI-generated

Summary

Updates a system user in TOTVS RM by sending a PUT request to the GlbUsuarioData DataServer.

Inputs

  • recordId — Primary key of the user record to update. Sent as the record path segment in the PUT URL. If omitted, the PUT is sent to the base GlbUsuarioData URL without a record ID.
  • body — JSON payload containing the user fields to update. Required fields vary by DataServer. The node does not validate or map the fields, and it automatically adds/overwrites the context property.
  • codColigada — Company code (CODCOLIGADA) to use for this update. Leave 0 to use the value configured in the TOTVS RM credential.
  • context — Additional RM context string, e.g. CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1. Leave empty to use CODCOLIGADA=<company>;CODFILIAL=<credential filial>.

Output shape

n8n items with json containing the response

Returns the parsed JSON response from the GlbUsuarioData DataServer. One output item is produced per input item. If the response is an array, each element becomes its own output item; if it is an object, it is wrapped in a single output item. When Continue On Fail is enabled, failed items produce { error: <message> }.

Links

Discussion