{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Group members
/api/usersandgroups/groups/{groupId}/members/{userId}/userId
Exposes one direct user-to-group membership as independently writable resource.
GET /api/usersandgroups/groups/{groupId}/members/{userId}/userId
Member identifier. Settable only while creating new membership.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
groupId |
path | string |
yes | — |
userId |
path | string |
yes | member identifier from route |
Response
| Status | Content Type | Schema | Description |
|---|---|---|---|
200 |
application/json |
string |
Successful response. |
Example Request
# Request GET /api/usersandgroups/groups/<groupId>/members/<userId>/userId HTTP/1.1 Accept: application/json Authorization: Bearer <access-token> # Response HTTP/1.1 200 OK Content-Type: application/json "a93s0xothwp7sfrs8kz7rflhl"
PUT /api/usersandgroups/groups/{groupId}/members/{userId}/userId
Sets member ID on create; route identity remains immutable on updates.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
groupId |
path | string |
yes | — |
userId |
path | string |
yes | member identifier from route |
Request Body
| Content Type | Schema | Required | Description |
|---|---|---|---|
application/json |
string |
yes | requested member identifier |
Response
| Status | Content Type | Schema | Description |
|---|---|---|---|
200 |
application/json |
string |
Successful response. |
Example Request
# Request PUT /api/usersandgroups/groups/<groupId>/members/<userId>/userId HTTP/1.1 Accept: application/json Authorization: Bearer <access-token> Content-Type: application/json "f07dy00vne3aiwmoy8vo9s7yl" # Response HTTP/1.1 200 OK Content-Type: application/json "07pr4sd2k31ilhtz2pc54epyz"
Common Error Responses
The status codes 400, 403, 404, 405, 406, 409, 413, 415, and 500 use the same ApiError JSON error format:
{
"status": 404,
"code": "route_not_found",
"message": "The requested API route does not exist.",
"details": []
}
Schemas
Request and response schemas used on this page.
ApiError
| Property | Type | Required | Description |
|---|---|---|---|
status |
integer (int32) |
yes | — |
code |
string |
yes | — |
message |
string |
yes | — |
details |
array<object> |
no | — |