Skip to main content

core_groups_add_user_create

POST 

/api/v3//core/groups/:group_uuid/add_user/

Add user to group

Request

Path Parameters

    group_uuid uuidrequired

    A UUID string identifying this Group.

Bodyrequired

    pkintegerrequired

Responses

User added

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/core/groups/:group_uuid/add_user/");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"pk\": 0\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
Body required
{
  "pk": 0
}