Skip to main content

sources_scim_groups_create

POST 

/api/v3//sources/scim_groups/

SCIMSourceGroup Viewset

Request

Bodyrequired

    idstringrequired

    Possible values: non-empty

    groupuuidrequired
    sourceuuidrequired
    attributes

Responses

Schema
    idstringrequired
    groupuuidrequired
    group_obj object

    Simplified Group Serializer for user's groups

    pkuuidrequired
    num_pkintegerrequired

    Get a numerical, int32 ID for the group

    namestringrequired
    is_superuserboolean

    Users added to this group will be superusers.

    parentuuidnullable
    parent_namestringnullablerequired
    attributes object
    property name*any
    sourceuuidrequired
    attributes

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/sources/scim_groups/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"id\": \"string\",\n \"group\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"source\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"attributes\": {}\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
Body required
{
  "id": "string",
  "group": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "source": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "attributes": {}
}