Create a group

post/groups
Internal-Use Only

Creates a group.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "createdBy": "sastest1",
4 "creationTimeStamp": "2023-09-28T04:16:51.079000Z",
5 "modifiedBy": "sastest1",
6 "modifiedTimeStamp": "2023-09-28T04:16:51.079000Z",
7 "id": "89f8713d-682e-449a-903c-896bc35ef3aa",
8 "typeId": "group",
9 "createdByDisplayName": "SAS Test User 1 (sastest1)",
10 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",
11 "name": "Test Group 1",
12 "description": "Remote Test Group",
13 "contextId": "35f9a2ed-88ab-4f11-95cd-70a262df31e5",
14 "contextTypeId": "organization"
15}

Query Parameters

NameTypeRequiredDescription
description
string
false

The description for the group

contextId
string
true

The unique identifier for the context that contains the group.

Examples:
"d6eefec9-dcc2-4574-8af8-69897038d9c5"
name
string
true

The name of the group.

Examples:
"Test Users Group"

Responses

StatusMeaningDescription
201CreatedCreated - the group was created successfully.Schema
400Bad RequestBad Request
409ConflictA group with the same name already exists at the specified context.