Assign User to a Group
Assign an account user to a specific group.
post
Path parameters
idstringRequired
Body
idall ofOptional
anyOptionalPattern:
^UGR-\d\d\d\d-\d\d\d\d$
anyOptionalPattern:
^UGR-\d\d\d\d-\d\d\d\d$
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
post
POST /public/v1/accounts/account-users/{id}/groups HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"id": "text"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-08-16T01:22:09.922Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-08-16T01:22:09.922Z",
"by": "[Circular Reference]"
},
"invitationAcceptedAt": "2025-08-16T01:22:09.922Z",
"access": {
"at": "2025-08-16T01:22:09.922Z"
},
"joined": {
"at": "2025-08-16T01:22:09.922Z"
}
},
"$meta": {
"omitted": [
"text"
]
},
"user": {
"id": "text",
"icon": "text",
"name": "text"
},
"groups": [
{
"id": "text",
"name": "text",
"description": "text",
"logo": "text",
"isDefault": true
}
],
"buyers": [
{
"id": "text",
"icon": "text",
"name": "text"
}
],
"modules": [
{
"id": "text",
"description": "text",
"name": "text",
"filters": {
"group.buyers": [
"text"
]
},
"settings": {
"configurable": true,
"default": true,
"paid": true,
"type": [
"text"
],
"obsolete": true,
"eligibility": {
"multi": true,
"single": true
}
}
}
],
"account": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"invitation": {
"url": "text",
"notes": "text",
"status": "text"
},
"lastLoginAt": "2025-08-16T01:22:09.922Z"
}
Last updated
Was this helpful?