usergroups

API Name

usergroups

Description

Creates passed User Group.

REST Methods

POST

Precondition

Server Manager Console must be running.

Permission

userManagement

Input Params

userGroupName: The name of the User Group.

userGroupDescription: The description of the User Group.

Sample Request

curl --location 'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/usergroups' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \ --header 'Cookie: SMCONSOLE_SSID=91JdGRrgf6zJLTNQGlaJj6TMtXfVWk84Pjeo0I03JXBKdMaN3uUM!-181795201' \ --data '{ "userGroupName":"testGanesh", "userGroupDescription": "test" }'

Return

HTTP status 201 is returned.

Sample Response

Exception

Throws an exception if the operation fails for any reason.