For the complete documentation index, see llms.txt. This page is also available as Markdown.

User Groups

Manage native Moqui user groups (moqui.security.UserGroup)

list UserGroup

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

userGroupIdstringOptional
descriptionstringOptional
groupTypeEnumIdstringOptional
ipAllowedstringOptional

See UserAccout.ipAllowed

requireAuthcFactorstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: userGroups
userGroupIdstringOptional
descriptionstringOptional
groupTypeEnumIdstring · enumOptionalPossible values:
ipAllowedstringOptional
requireAuthcFactorstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
get/userGroups
GET /rest/s1/admin/userGroups HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
  {
    "_entity": "userGroups",
    "userGroupId": "text",
    "description": "text",
    "groupTypeEnumId": "UgtMoquiAdmin",
    "ipAllowed": "text",
    "requireAuthcFactor": "text",
    "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
    "createdStamp": "2026-01-01T00:00:00.000Z"
  }
]

create UserGroup

post
Authorizations
AuthorizationstringRequired
Body
_entitystringOptionalDefault: userGroups
userGroupIdstringOptional
descriptionstringOptional
groupTypeEnumIdstring · enumOptionalPossible values:
ipAllowedstringOptional
requireAuthcFactorstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: userGroups.PK
userGroupIdstringOptional
post/userGroups
POST /rest/s1/admin/userGroups HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 235

{
  "_entity": "userGroups",
  "userGroupId": "text",
  "description": "text",
  "groupTypeEnumId": "UgtMoquiAdmin",
  "ipAllowed": "text",
  "requireAuthcFactor": "text",
  "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
  "createdStamp": "2026-01-01T00:00:00.000Z"
}
{
  "_entity": "userGroups.PK",
  "userGroupId": "text"
}

one UserGroup

get
Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Responses
200

Success

application/json
_entitystringOptionalDefault: userGroups
userGroupIdstringOptional
descriptionstringOptional
groupTypeEnumIdstring · enumOptionalPossible values:
ipAllowedstringOptional
requireAuthcFactorstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
get/userGroups/{userGroupId}
GET /rest/s1/admin/userGroups/{userGroupId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "_entity": "userGroups",
  "userGroupId": "text",
  "description": "text",
  "groupTypeEnumId": "UgtMoquiAdmin",
  "ipAllowed": "text",
  "requireAuthcFactor": "text",
  "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
  "createdStamp": "2026-01-01T00:00:00.000Z"
}

update UserGroup

put
Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Body
_entitystringOptionalDefault: userGroups
userGroupIdstringOptional
descriptionstringOptional
groupTypeEnumIdstring · enumOptionalPossible values:
ipAllowedstringOptional
requireAuthcFactorstringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
_entitystringOptionalDefault: userGroups.PK
userGroupIdstringOptional
put/userGroups/{userGroupId}
PUT /rest/s1/admin/userGroups/{userGroupId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 235

{
  "_entity": "userGroups",
  "userGroupId": "text",
  "description": "text",
  "groupTypeEnumId": "UgtMoquiAdmin",
  "ipAllowed": "text",
  "requireAuthcFactor": "text",
  "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
  "createdStamp": "2026-01-01T00:00:00.000Z"
}
{
  "_entity": "userGroups.PK",
  "userGroupId": "text"
}

delete UserGroup

delete
Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Responses
401

Authentication required

No content

delete/userGroups/{userGroupId}
DELETE /rest/s1/admin/userGroups/{userGroupId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*

No content

find UserGroupPermissions

get

Replaces GET /admin/userGroups/{userGroupId}/permissions

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Query parameters
userPermissionIdstringOptional
orderByFieldstringOptional
pageIndexinteger · int32Optional
pageSizeinteger · int32Optional
Responses
200

Success

application/json
userGroupPermissionListarrayOptional
userGroupPermissionListCountinteger · int32Optional
get/userGroups/{userGroupId}/permissions
GET /rest/s1/admin/userGroups/{userGroupId}/permissions HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "userGroupPermissionList": [],
  "userGroupPermissionListCount": 1
}

create UserGroupPermission

post

Replaces POST /admin/userGroups/{userGroupId}/permissions

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

Success

application/json
userGroupIdstringOptional
userPermissionIdstringOptional
fromDatestring · date-timeOptional
post/userGroups/{userGroupId}/permissions
POST /rest/s1/admin/userGroups/{userGroupId}/permissions HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 124

{
  "userGroupId": "text",
  "userPermissionId": "text",
  "fromDate": "2026-01-01T00:00:00.000Z",
  "thruDate": "2026-01-01T00:00:00.000Z"
}
{
  "userGroupId": "text",
  "userPermissionId": "text",
  "fromDate": "2026-01-01T00:00:00.000Z"
}

update UserGroupPermission

put

Replaces PUT /admin/userGroups/{userGroupId}/permissions (soft-expire via thruDate)

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

Authentication required

No content

put/userGroups/{userGroupId}/permissions
PUT /rest/s1/admin/userGroups/{userGroupId}/permissions HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 124

{
  "userGroupId": "text",
  "userPermissionId": "text",
  "fromDate": "2026-01-01T00:00:00.000Z",
  "thruDate": "2026-01-01T00:00:00.000Z"
}

No content

find UserGroupUsers

get

Get the users currently in a group

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Query parameters
pageIndexinteger · int32Optional
pageSizeinteger · int32Optional
Responses
200

Success

application/json
userListarrayOptional
get/userGroups/{userGroupId}/users
GET /rest/s1/admin/userGroups/{userGroupId}/users HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "userList": []
}

find ArtifactAuthzs

get

Replaces GET /admin/userGroups/{userGroupId}/artifactAuthorizations

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Query parameters
artifactGroupIdstringOptional
orderByFieldstringOptional
pageIndexinteger · int32Optional
pageSizeinteger · int32Optional
Responses
200

Success

application/json
artifactAuthzListarrayOptional
artifactAuthzListCountinteger · int32Optional
get/userGroups/{userGroupId}/artifactAuthorizations
GET /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "artifactAuthzList": [],
  "artifactAuthzListCount": 1
}

create ArtifactAuthz

post

Replaces POST /admin/userGroups/{userGroupId}/artifactAuthorizations

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
Body
artifactAuthzIdstringOptional
userGroupIdstringRequired
artifactGroupIdstringRequired
authzTypeEnumIdstring · enumOptionalPossible values:
authzActionEnumIdstring · enumOptionalPossible values:
authzServiceNamestringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
200

Success

application/json
artifactAuthzIdstringOptional
post/userGroups/{userGroupId}/artifactAuthorizations
POST /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 252

{
  "artifactAuthzId": "text",
  "userGroupId": "text",
  "artifactGroupId": "text",
  "authzTypeEnumId": "AUTHZT_ALLOW",
  "authzActionEnumId": "AUTHZA_ALL",
  "authzServiceName": "text",
  "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
  "createdStamp": "2026-01-01T00:00:00.000Z"
}
{
  "artifactAuthzId": "text"
}

get ArtifactAuthz

get

Replaces GET /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
artifactAuthzIdstringRequired
Responses
200

Success

application/json
artifactAuthzobjectOptional
get/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
GET /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "artifactAuthz": {}
}

update ArtifactAuthz

put

Replaces PUT /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
artifactAuthzIdstringRequired
Body
artifactAuthzIdstringRequired
userGroupIdstringOptional
artifactGroupIdstringOptional
authzTypeEnumIdstring · enumOptionalPossible values:
authzActionEnumIdstring · enumOptionalPossible values:
authzServiceNamestringOptional
lastUpdatedStampstring · date-timeOptional
createdStampstring · date-timeOptional
Responses
401

Authentication required

No content

put/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
PUT /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 252

{
  "artifactAuthzId": "text",
  "userGroupId": "text",
  "artifactGroupId": "text",
  "authzTypeEnumId": "AUTHZT_ALLOW",
  "authzActionEnumId": "AUTHZA_ALL",
  "authzServiceName": "text",
  "lastUpdatedStamp": "2026-01-01T00:00:00.000Z",
  "createdStamp": "2026-01-01T00:00:00.000Z"
}

No content

delete ArtifactAuthz

delete

Replaces DELETE /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}

Authorizations
AuthorizationstringRequired
Path parameters
userGroupIdstringRequired
artifactAuthzIdstringRequired
Responses
401

Authentication required

No content

delete/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
DELETE /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*

No content

Last updated

Was this helpful?