For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Users

users

create UserAccount

post
Authorizations
AuthorizationstringRequired
Body
usernamestringRequired
userFullNamestringOptional
resetPasswordSetDatestring · date-timeOptional
passwordHintstringOptional
publicKeystringOptional
disabledstringOptionalDefault: N
terminateDatestring · date-timeOptional
requirePasswordChangestringOptionalDefault: N
currencyUomIdstringOptional
localestringOptional
timeZonestringOptional
externalUserIdstringOptional
emailAddressstringOptional
ipAllowedstringOptional
partyIdstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
newPasswordstringRequired
newPasswordVerifystringRequired
Responses
200

Success

application/json
userIdstringRequired
post/users
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"
}

get UserAccountDetails

get

Return the limited user account fields needed by admin callers.

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Responses
200

Success

application/json
userIdstringOptional
usernamestringOptional
externalUserIdstringOptional
userFullNamestringOptional
disabledstringOptional
hasLoggedOutstringOptional
partyIdstringOptional
get/users/{userId}
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"
}

list UserGroupAndMember

get
Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Query parameters
pageIndexnumber · int32Optional

Page number to return, starting with zero

pageSizenumber · int32Optional

Number of records per page (default 100)

orderByFieldstringOptional

Field name to order by (or comma separated names)

pageNoLimitstringOptional

If true don't limit page size (no pagination)

dependentLevelsnumber · int32Optional

Levels of dependent child records to include

userGroupIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
descriptionstringOptional
groupTypeEnumIdstringOptional
ipAllowedstringOptional

See UserAccout.ipAllowed

requireAuthcFactorstringOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: moqui.security.UserGroupAndMember
userGroupIdstringOptional
userIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
descriptionstringOptional
groupTypeEnumIdstringOptional
ipAllowedstringOptional
requireAuthcFactorstringOptional
get/users/{userId}/groups
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"
  }
]

create UserGroupMember

post

Replaces POST /admin/users/{userId}/groups

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Body
userIdstringRequired
userGroupIdstringRequired
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
Responses
200

Success

application/json
userIdstringOptional
userGroupIdstringOptional
fromDatestring · date-timeOptional
post/users/{userId}/groups
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"
}

update UserGroupMember

put

Replaces PUT /admin/users/{userId}/groups (soft-expire via thruDate)

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Body
userIdstringRequired
userGroupIdstringRequired
fromDatestring · date-timeRequired
thruDatestring · date-timeOptional
Responses
401

Authentication required

No content

put/users/{userId}/groups
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

get UserProfileImage

get

Stream the given user's current profile (PcntLogoImage) image bytes directly to the HTTP response with the correct Content-Type.

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Responses
401

Authentication required

No content

get/users/{userId}/profileImage
GET /rest/s1/admin/users/{userId}/profileImage HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*

No content

upload UserProfileImage

post

Create or replace the given user's profile (PcntLogoImage) image.

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired
Body
userIdstringRequired
contentFilestringRequired
Responses
200

Success

application/json
partyIdstringOptional
partyContentIdstringOptional
post/users/{userId}/profileImage
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"
}

update Password

post

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.

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired

Defaults to the current userId in the ExecutionContext.

Body
userIdstringOptional

Defaults to the current userId in the ExecutionContext.

usernamestringOptional

May be used instead of userId to identify user.

oldPasswordstringRequired

Ignored if user has password admin permissions.

newPasswordstringRequired
newPasswordVerifystringRequired
codestringOptional

Second factor authentication, required if second factor required for user (via group or authc factors configured)

Responses
200

Success

application/json
usernamestringOptional
passwordIssuesbooleanOptional
updateSuccessfulbooleanOptional
post/users/{userId}/password/update
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
}

update Password

post

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.

Authorizations
AuthorizationstringRequired
Path parameters
userIdstringRequired

Defaults to the current userId in the ExecutionContext.

Body
userIdstringOptional

Defaults to the current userId in the ExecutionContext.

usernamestringOptional

May be used instead of userId to identify user.

oldPasswordstringRequired

Ignored if user has password admin permissions.

newPasswordstringRequired
newPasswordVerifystringRequired
codestringOptional

Second factor authentication, required if second factor required for user (via group or authc factors configured)

Responses
200

Success

application/json
usernamestringOptional
passwordIssuesbooleanOptional
updateSuccessfulbooleanOptional
post/users/{userId}/changePassword
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
}

reset Password

post
Authorizations
AuthorizationstringRequired
Body
userIdstringOptional
usernamestringOptional

May be used instead of userId to identify user.

Responses
401

Authentication required

No content

post/users/sendResetPasswordMail
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

list ProductStoreRole

get
Authorizations
AuthorizationstringRequired
Query parameters
pageIndexnumber · int32Optional

Page number to return, starting with zero

pageSizenumber · int32Optional

Number of records per page (default 100)

orderByFieldstringOptional

Field name to order by (or comma separated names)

pageNoLimitstringOptional

If true don't limit page size (no pagination)

dependentLevelsnumber · int32Optional

Levels of dependent child records to include

partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
sequenceNumnumber · int64Optional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: org.apache.ofbiz.product.store.ProductStoreRole
partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
sequenceNumnumber · int64Optional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
get/users/productStores
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"
  }
]

create ProductStoreRole

post
Authorizations
AuthorizationstringRequired
Body
_entitystringOptionalDefault: org.apache.ofbiz.product.store.ProductStoreRole
partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
sequenceNumnumber · int64Optional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: org.apache.ofbiz.product.store.ProductStoreRole.PK
partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
post/users/productStores
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"
}

update ProductStoreRole

put
Authorizations
AuthorizationstringRequired
Body
_entitystringOptionalDefault: org.apache.ofbiz.product.store.ProductStoreRole
partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
thruDatestring · date-timeOptional
sequenceNumnumber · int64Optional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: org.apache.ofbiz.product.store.ProductStoreRole.PK
partyIdstringOptional
roleTypeIdstringOptional
productStoreIdstringOptional
fromDatestring · date-timeOptional
put/users/productStores
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?