Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.03 KB

File metadata and controls

77 lines (53 loc) · 1.03 KB
sidebar_position 26

Add users to group

Description

Adds one or more users to a given group.

URL

http://{Admin API IP}:{port#}/api/v1/groups/{id}/Users

Parameter Description/Comments
ID (string) Group's ID. Can be retrieved via Get all groups.

HTTP method

POST

Request

Headers

Example header format:

Authorization: Basic <authorization token returned from the login method>

Content-Type: application/json

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