Create/Update UserGroup
POST/createUpdateUserGroup
This API create or update usergroup in SSM.
The Authorization must have Bearer followed by Token.
Mandatory params:
usergroup,
username
Optional params:
user_groupdescription,
users -
username(mandatory),updateType- ADD/REMOVE (optional),
entitlements -
endpoint(mandatory),entitlement_type(mandatory),entitlement_value(mandatory),updateTypeADD/REMOVE (optional),
owners -
username(mandatory),updateType- ADD/REMOVE/SETRANK (optional),rank(optional)
Request
Path Parameters
path stringrequired
- application/json
Body
Array [
]
Array [
]
Array [
]
entitlements
object[]
endpoint string
entitlement_type string
entitlement_value string
updateType string
owners
object[]
rank string
updateType string
username string
user_groupdescription string
usergroup string
username string
users
object[]
updateType string
username string
Responses
- 200
Create/Update UserGroup
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Pragma
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
Transfer-Encoding
string
X-Content-Type-Options
string
X-Frame-Options
string
X-XSS-Protection
string
- application/json
- Schema
- Example (from schema)
- Create/Update UserGroup
Schema
errorCode string
msg string
usergroupkey string
{
"errorCode": "1",
"msg": " user U003961 already present in usergroup. user M0014 does not exist in usergroup. entitlement FIXED_ASSET_INQUIRY_TECH_IN already present in usergroup. entitlement FIXED_ASSET_INQUIRY_SOFT_IN does not exist in usergroup. owner G000706 is already present. Owner U009075 does not exist in usergroup. owner G000526 is not present.",
"usergroupkey": "2"
}
{
"errorCode": "1",
"msg": " user U003961 already present in usergroup. user M0014 does not exist in usergroup. entitlement FIXED_ASSET_INQUIRY_TECH_IN already present in usergroup. entitlement FIXED_ASSET_INQUIRY_SOFT_IN does not exist in usergroup. owner G000706 is already present. Owner U009075 does not exist in usergroup. owner G000526 is not present.",
"usergroupkey": "2"
}
Loading...