Add Roles To User Group

Add Roles To User Group

Add multiple roles to a specific user group

Request
URI
POST
https://{api_host}/api/v2/usergroup/{id}/addRoles
COPY
Path Parameters
string
id
Required

id


Request Body

List of roles that should be added to user group

Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerUserGroupModel of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": 0
    },
    "response": {
        "users": [
            "string"
        ],
        "userCount": 0,
        "properties": {
            "nameEditable": false,
            "usersEditable": false,
            "rolesEditable": false
        },
        "roles": [
            {
                "sampleLinkedGroups": [
                    "UserGroup Object"
                ],
                "linkedGroupsCount": 0,
                "sampleLinkedAccounts": [
                    "string"
                ],
                "linkedAccountsCount": 0,
                "restrictedPermissions": [
                    "string"
                ],
                "properties": {
                    "nameEditable": false,
                    "usersRemovable": false,
                    "usersAddable": false,
                    "permsEditable": false,
                    "deletable": false
                },
                "permissions": [
                    "string"
                ],
                "name": "string",
                "id": "string",
                "description": "string",
                "createdEpochMillis": 0,
                "lastUpdatedMs": 0,
                "lastUpdatedAccountId": "string",
                "customer": "string"
            }
        ],
        "roleCount": 0,
        "name": "string",
        "id": "string",
        "description": "string",
        "createdEpochMillis": 0,
        "customer": "string"
    }
}
status
Required

status

response
Optional

response