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)

Mandatory/Optional

Data Type

Description

orgId

Query

Mandatory

String

The ID of the organization to which the user group belongs to. How to get orgId>>

Request Parameters (Body)

Name

Mandatory/Optional

Data Type

Description

userGroup

Mandatory

UserGroup Struct

The user group information. For more information, see UserGroup Struct.

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
}