Groups Endpoint
Create Group
This API creates a group and returns the details of the created group including its unique ID.
-
<b>Scope(Permission) required:</b> internal_group_mgt_create
-
<b>Flow type:</b> Client Credentials OAuth Flow
post/Groups
Request
- Base URLhttps://api.asgardeo.io/t//scim2
- AuthOAuth 2Client credentials
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
attributesstring
SCIM defined attributes parameter.
excludedAttributesstring
SCIM defined excludedAttribute parameter.
Request body
Example request
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"displayName": "DEFAULT/manager",
"members": [
{
"value": "008bba85-451d-414b-87de-c03b5a1f4217",
"display": "kim"
}
]
}Response
Valid group is created
Example response
{
"displayName": "DEFAULT/manager",
"meta": {
"created": "2019-08-26T14:27:36.000Z",
"location": "https://api.asgardeo.io/t/{org-name}/scim2/Groups/7bac6a86-1f21-4937-9fb1-5be4a93ef469",
"lastModified": "2019-08-26T14:27:36.000Z",
"resourceType": "Group"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "7bac6a86-1f21-4937-9fb1-5be4a93ef469",
"members": [
{
"$ref": "https://api.asgardeo.io/t/{org-name}/scim2/Users/3a12bae9-4386-44be-befd-caf349297f45",
"display": "kim",
"value": "008bba85-451d-414b-87de-c03b5a1f4217"
}
],
"roles": [
{
"$ref": "https://api.asgardeo.io/t/{org-name}/scim2/Roles/4645709c-ea8c-4495-8590-e1fa0efe3de0",
"display": "loginRole",
"value": "4645709c-ea8c-4495-8590-e1fa0efe3de0"
}
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.