Query parameters
-
extra information of each user on the list
-
maximum count of the user list
-
skip that many users before beginning to return
Body
-
At least 8 characters (the minimum is configurable per server). Servers with password complexity enabled also require an uppercase letter, a lowercase letter, a number, and one of
!@#$%^&*()-_=+~`,.. Servers that enforce password history reject a previously used password. ZIM-integrated servers also enforce ZIM's policy: at least 8 characters with an uppercase letter, a lowercase letter, and a number. A failing password is reported in that user'serror_message, which names the rule it failed (ZIM's own error text on ZIM-integrated servers). The response is 400 if every user in the request fails, otherwise 207. -
must match "server", "company" or "basic"
Only a Server Admin can set
serveror update aserveruser. On a role change, omittedcan_assign,can_edit_recordsandcan_delete_recordsreset to the new role's defaults.can_manage_templatesandcan_generate_documentskeep their stored values. -
Record Assignment. Company Admins, and Server Admins holding the company scope, always have it. Omitted, it keeps the stored value unless
rolechanges tobasic, which clears it. For a server-only user (server scope without the company scope)truechanges nothing, as GET already reports every permission true for them, andfalseclears it. On a role change atruesent here is kept, so a client that demotes a user by editing their GET body (every flagtruefor an admin) MUST sendfalse. On ZIM-integrated servers a grant made here survives detaching the ZIM Record Assignment policy, andfalsedoesn't remove a grant that comes from that policy. Permission bits this endpoint has no field for are kept unlessrolechanges. -
Edit Records. Lets the user edit records on forms they can view. On ZIM-integrated servers the user's ZIM policies grant or revoke this permission, and replace a value sent here at the user's next sign-in.
-
Delete Records. Lets the user delete records on forms they can view. On ZIM-integrated servers the user's ZIM policies grant or revoke this permission, and replace a value sent here at the user's next sign-in.
-
Manage Document Templates. Lets the user create, edit and delete document templates. On ZIM-integrated servers the user's ZIM policies grant or revoke this permission, and replace a value sent here at the user's next sign-in.
-
Generate Documents. Lets the user generate documents from document templates. On ZIM-integrated servers the user's ZIM policies grant or revoke this permission, and replace a value sent here at the user's next sign-in.
-
Can only unlock by using false
curl \
--request PUT 'https://api.iformbuilder.com/exzact/api/v80/[servername]/profiles/self/users' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer {access_token}" \
--data '[
{
"id": 161239,
"password": "Password123!"
},
{
"id": 161242,
"password": "Password456!"
}
]'
[
{
"id": 161239,
"password": "Password123!"
},
{
"id": 161242,
"password": "Password456!"
}
]
{
"role": "basic",
"can_form_edit": true
}
[
{
"id": 161239
},
{
"id": 161242
}
]