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
- multipart/form-data
Body
actionType string
user_groupname string
username string
Responses
- 200
Add/Remove User From UserGroup
Response Headers
Date
string
Server
string
Set-Cookie
string
- application/json
- Schema
- Example (from schema)
- Add/Remove User From UserGroup
Schema
errorCode string
message string
{
"errorCode": "0",
"message": "saved successfully"
}
{
"errorCode": "0",
"message": "saved successfully"
}
Loading...