Create User Group¶
Create a user group.
Operation Permissions¶
Applications assigned with the administrator policy in the OU.
Request Format¶
POST https://{apigw-address}/enos-iam-service/v2.3/usergroup/add
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Required/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Required |
String |
The ID of the OU to which the user group belongs to. How to get orgId>> |
Request Parameters (Body)¶
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
userGroup |
Required |
UserGroup Struct |
The user group information. For more information, see UserGroup Struct. |
UserGroup Struct ¶
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
name |
Required |
String |
The user group name. |
Samples¶
Request Sample¶
url: https://{apigw-address}/enos-iam-service/v2.3/usergroup/add?orgId=yourOrgId
method: POST
request Body:
{
"userGroup": {
"name": "Admin group"
}
}
Return Sample¶
{
"fail": false,
"success": true,
"data": true,
"status": 0
}