Add users to group
Description
Adds one or more users to a given group.
HTTP method
POST
Request
URL
http://{Admin API IP}:{port#}/api/v1/groups/{id}/Users
Headers
Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
Parameter | Description/Comments |
---|---|
ID |
(string) Group's ID. Can be retrieved via Get all groups. |
Request body
Parameter | Description/Comments |
---|---|
Id | (string) User's id. Can be retrieved via Get all users. |
Request example
{
"Users": [
{
"Id": 0
}
]
}
Response
Response example
{
"Errors": []
}
Response code
200 OK