Add Vidm User Group

Add Vidm User Group

Add a new VMware Identity Manager user-group to vRealize Network Insight. Only admin users can perform this action. VMware Identity Manager must be configured prior to this action.

Request
URI
POST
https://vrni.example.com/api/ni/settings/user-groups/vidm
COPY
Request Body
VidmUserGroupRequest of type(s) application/json
Optional
{
    "group_name": "testgroup",
    "domain": "vidmlabs.com",
    "role": "ADMIN"
}
string
group_name
Optional

Specify group name (domain should not be part of group name).

string
domain
Optional

Provide domain name to which user-group belongs to.

role
Optional

role

Authentication
This operation uses the following authentication methods.
Responses
201

Success

Returns UserGroupResponse of type(s) application/json
{
    "id": "[email protected]",
    "group_type": "VIDM",
    "group_name": "testgroup",
    "domain": "vidmlabs.com",
    "role": "ADMIN"
}
group_type
Optional

group_type

string
id
Optional

Unique identifier assigned to user-group.

string
group_name
Optional

Group-name of the user-group.

string
domain
Optional

Domain name to which user-group belongs to.

role
Optional

role


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


401

Unauthorized

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


403

Forbidden

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


409

Already Exists

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


500

Internal Error

Operation doesn't return any data structure