Users
users
NNSuccess
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 493
{
"username": "text",
"userFullName": "text",
"resetPasswordSetDate": "2026-01-01T00:00:00.000Z",
"passwordHint": "text",
"publicKey": "text",
"disabled": "N",
"terminateDate": "2026-01-01T00:00:00.000Z",
"requirePasswordChange": "N",
"currencyUomId": "text",
"locale": "text",
"timeZone": "text",
"externalUserId": "text",
"emailAddress": "text",
"ipAllowed": "text",
"partyId": "text",
"lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
"createdStamp": "2026-01-01T00:00:00.000Z",
"newPassword": "text",
"newPasswordVerify": "text"
}{
"userId": "text"
}Return the limited user account fields needed by admin callers.
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/users/{userId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"userId": "text",
"username": "text",
"externalUserId": "text",
"userFullName": "text",
"disabled": "text",
"hasLoggedOut": "text",
"partyId": "text"
}Page number to return, starting with zero
Number of records per page (default 100)
Field name to order by (or comma separated names)
If true don't limit page size (no pagination)
Levels of dependent child records to include
See UserAccout.ipAllowed
Success
moqui.security.UserGroupAndMemberAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/users/{userId}/groups HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
{
"_entity": "moqui.security.UserGroupAndMember",
"userGroupId": "text",
"userId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z",
"description": "text",
"groupTypeEnumId": "text",
"ipAllowed": "text",
"requireAuthcFactor": "text"
}
]Replaces POST /admin/users/{userId}/groups
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/{userId}/groups HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"userId": "text",
"userGroupId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z"
}{
"userId": "text",
"userGroupId": "text",
"fromDate": "2026-01-01T00:00:00.000Z"
}Replaces PUT /admin/users/{userId}/groups (soft-expire via thruDate)
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
PUT /rest/s1/admin/users/{userId}/groups HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"userId": "text",
"userGroupId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z"
}No content
Stream the given user's current profile (PcntLogoImage) image bytes directly to the HTTP response with the correct Content-Type.
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/users/{userId}/profileImage HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
No content
Create or replace the given user's profile (PcntLogoImage) image.
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/{userId}/profileImage HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"userId": "text",
"contentFile": "text"
}{
"partyId": "text",
"partyContentId": "text"
}Set a user's password. The userId must match the current user and the oldPassword must match the user's currentPassword or special permission is required, or user has already pre-authenticated and specified an authz code.
Defaults to the current userId in the ExecutionContext.
Defaults to the current userId in the ExecutionContext.
May be used instead of userId to identify user.
Ignored if user has password admin permissions.
Second factor authentication, required if second factor required for user (via group or authc factors configured)
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/{userId}/password/update HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"userId": "text",
"username": "text",
"oldPassword": "text",
"newPassword": "text",
"newPasswordVerify": "text",
"code": "text"
}{
"username": "text",
"passwordIssues": true,
"updateSuccessful": true
}Set a user's password. The userId must match the current user and the oldPassword must match the user's currentPassword or special permission is required, or user has already pre-authenticated and specified an authz code.
Defaults to the current userId in the ExecutionContext.
Defaults to the current userId in the ExecutionContext.
May be used instead of userId to identify user.
Ignored if user has password admin permissions.
Second factor authentication, required if second factor required for user (via group or authc factors configured)
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/{userId}/changePassword HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"userId": "text",
"username": "text",
"oldPassword": "text",
"newPassword": "text",
"newPasswordVerify": "text",
"code": "text"
}{
"username": "text",
"passwordIssues": true,
"updateSuccessful": true
}May be used instead of userId to identify user.
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/sendResetPasswordMail HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"userId": "text",
"username": "text"
}No content
Page number to return, starting with zero
Number of records per page (default 100)
Field name to order by (or comma separated names)
If true don't limit page size (no pagination)
Levels of dependent child records to include
Success
org.apache.ofbiz.product.store.ProductStoreRoleAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/users/productStores HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
{
"_entity": "org.apache.ofbiz.product.store.ProductStoreRole",
"partyId": "text",
"roleTypeId": "text",
"productStoreId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z",
"sequenceNum": 1,
"lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
"createdStamp": "2026-01-01T00:00:00.000Z"
}
]org.apache.ofbiz.product.store.ProductStoreRoleSuccess
org.apache.ofbiz.product.store.ProductStoreRole.PKAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/users/productStores HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 302
{
"_entity": "org.apache.ofbiz.product.store.ProductStoreRole",
"partyId": "text",
"roleTypeId": "text",
"productStoreId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z",
"sequenceNum": 1,
"lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
"createdStamp": "2026-01-01T00:00:00.000Z"
}{
"_entity": "org.apache.ofbiz.product.store.ProductStoreRole.PK",
"partyId": "text",
"roleTypeId": "text",
"productStoreId": "text",
"fromDate": "2026-01-01T00:00:00.000Z"
}org.apache.ofbiz.product.store.ProductStoreRoleSuccess
org.apache.ofbiz.product.store.ProductStoreRole.PKAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
PUT /rest/s1/admin/users/productStores HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 302
{
"_entity": "org.apache.ofbiz.product.store.ProductStoreRole",
"partyId": "text",
"roleTypeId": "text",
"productStoreId": "text",
"fromDate": "2026-01-01T00:00:00.000Z",
"thruDate": "2026-01-01T00:00:00.000Z",
"sequenceNum": 1,
"lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
"createdStamp": "2026-01-01T00:00:00.000Z"
}{
"_entity": "org.apache.ofbiz.product.store.ProductStoreRole.PK",
"partyId": "text",
"roleTypeId": "text",
"productStoreId": "text",
"fromDate": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?