User Groups
Manage native Moqui user groups (moqui.security.UserGroup)
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
userGroupsAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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"
}
]userGroupsSuccess
userGroups.PKAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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"
}Success
userGroupsAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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"
}userGroupsSuccess
userGroups.PKAuthentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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"
}Authentication required
No content
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
DELETE /rest/s1/admin/userGroups/{userGroupId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
No content
Replaces GET /admin/userGroups/{userGroupId}/permissions
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/userGroups/{userGroupId}/permissions HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"userGroupPermissionList": [],
"userGroupPermissionListCount": 1
}Replaces POST /admin/userGroups/{userGroupId}/permissions
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
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"
}Replaces PUT /admin/userGroups/{userGroupId}/permissions (soft-expire via thruDate)
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
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
Get the users currently in a group
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/userGroups/{userGroupId}/users HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"userList": []
}Replaces GET /admin/userGroups/{userGroupId}/artifactAuthorizations
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"artifactAuthzList": [],
"artifactAuthzListCount": 1
}Replaces POST /admin/userGroups/{userGroupId}/artifactAuthorizations
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
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"
}Replaces GET /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"artifactAuthz": {}
}Replaces PUT /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
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
Replaces DELETE /admin/userGroups/{userGroupId}/artifactAuthorizations/{artifactAuthzId}
Authentication required
No content
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
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?