/Update UsersPATCH

Update Users

Update selected fields on existing users. Each Excel row sends one PATCH request; blank cells leave fields unchanged.

1 — Excel file

Each row = one API call.

Submit to OFS

Upload an Excel file.

Fields

loginrequiredstring

Existing user's login. Used in the URL and never sent in the PATCH body.

namestring

Updated full name. Blank leaves it unchanged.

languagestring

Preferred language code.

timeZonestring

OFS or IANA time zone name.

userTypestring

Existing OFS user type label controlling access.

resourcesstring

Replaces the assigned resource list. Comma-separated IDs or a JSON array. Blank preserves the list; [] explicitly clears it.

passwordstring

New password for local password storage. Ignored for SAML. Blank preserves the password.

passwordTemporaryenum

Whether a password change is required on next login.

truefalse
statusenum

Updated account status.

activeinactive
mainResourceIdstring

Primary resource ID. Assigning a resource already used by another user removes their main resource association.

organizationalUnitstring

Bucket or organizational unit resource ID.

dateFormatenum

Short date display preference.

dd/mm/yymm/dd/yydd.mm.yyyyyy/mm/dd
longDateFormatstring

Long date format supported by your OFS instance.

timeFormatenum

Time display preference.

12-hour24-hour
weekStartenum

First day of the week.

sundaymondaytuesdaywednesdaythursdayfridaysaturdaydefault
selfAssignmentenum

Whether the user can assign activities to themselves.

truefalse

Notes

  • ·Only login is required, plus at least one non-blank field to update. Blank or omitted cells leave the current value unchanged.
  • ·Login is matched exactly, including leading and trailing spaces. Keep the login cell as text in Excel.
  • ·PATCH updates an existing user; it does not create or fully replace an account.
  • ·resources replaces the entire assigned resource list, rather than adding to it. Use CSV or a JSON array, including arrays exported by Get Users. [] explicitly clears the list.
  • ·Only documented editable fields are sent. Read-only fields and links from a Get Users export are ignored.
  • ·Each row runs separately with live progress. Stop on first error is enabled by default; Stop further requests lets the current request finish.
  • ·If mainResourceId is already another user's main resource, that association is removed from the other user.