Skip to main content

Add/Remove User From UserGroup

POST 

/addRemoveUserFromUserGroup

This API is used to add or remove user from a usergroup in SSM

The Authorization must have Bearer followed by Token.

Mandatory params:

username - User which needs to be added/ removed,

user_groupname - Group name to be added/removed,

actionType (0/1) - 0:Add and 1:Remove

Request

Body

    actionTypestring
    Example: 0
    user_groupnamestring
    Example: TEST USER GROUP
    usernamestring
    Example: bharell

Responses

Add/Remove User From UserGroup

Response Headers

  • Date

    string

  • Server

    string

  • Set-Cookie

    string

Schema

    errorCodestring
    Example: 0
    messagestring
    Example: saved successfully