Create / Update User
Creates or replaces a user account in OFS. Each Excel row is one user (PUT by login).
1 — Excel file
Each row = one API call.
Submit to OFS
Upload an Excel file.
Fields
loginrequiredstringUnique user login / username (path parameter). Must be unique in OFS.
namerequiredstringFull name of the user.
languagerequiredstringPreferred language code (e.g. en, fr, es).
timeZonerequiredstringOFS time zone name (e.g. Eastern, Arizona) or IANA name (e.g. America/New_York).
userTyperequiredstringUser type label as configured in OFS (controls access).
resourcesrequiredstringComma-separated resource IDs assigned to this user. At least one required.
passwordstringPassword for local login policy. Ignored for SAML authentication.
passwordTemporaryenumIf true, user is prompted to change password on first login.
truefalsestatusenumAccount status. Defaults to active.
activeinactivemainResourceIdstringPrimary resource for this user (field personnel). If previously assigned to another user, that association is removed.
organizationalUnitstringBucket or organizational unit ID (for bucket/org-unit roles).
dateFormatenumDate display preference.
dd/mm/yymm/dd/yydd.mm.yyyyyy/mm/ddtimeFormatenumTime display preference.
12-hour24-hourweekStartenumFirst day of the week.
sundaymondaytuesdaywednesdaythursdayfridaysaturdaydefaultselfAssignmentenumIf true, user can assign activities to themselves.
truefalseNotes
- ·login becomes the URL path — it is NOT sent in the request body.
- ·PUT creates the user if not found, or fully replaces the existing user.
- ·resources: enter multiple resource IDs separated by commas (e.g. res1,res2).
- ·If mainResourceId was previously assigned to another user, that link is removed automatically.
- ·password is only used for 'local password storage' login policy — ignored for SAML/SSO.