Update Dashboard Privilege
put
/serviceapi/dashboardModel/privilege/
To share a dashboard, the user executing the call must have MANAGE privileges or be the OMC admin.
- sharePublic defines if the dashboard is going to be public
- privilegeType defines if the dashboard is going to be shared with VIEW or MANAGE privilege
- userName is optional, not defining this will make the dashboard available to all
Request
This is the object you must send in the body to update a privilege.
Root Schema : UpdatePrivilege
Type:
object
This is the object you must send in the body to update a privilege.
-
dashboardId:
string(BigInteger)
The dashboard id.Example:
1234
-
privilegeType:
integer(int32)
The type of privilege you want to update.
0 = VIEW
1 = MANAGE
Example:1
- sharePublic: integer(int32)
-
userName:
string
The name of the user.Example:
demouser
Response
Supported Media Types
- application/json
204 Response
Success