api_auth

<back to all web services

PrivilegesUpdate

PrivilegesUpdate Parameters:
NameParameterData TypeRequiredDescription
UpdatesqueryPrivilegeUpdate[]No
PrivilegeUpdate Parameters:
NameParameterData TypeRequiredDescription
PrivilegeIDformlongNo
SiteIDformlong?No
GroupIDformlong?No
PersonIDformlong?No
ActionIDformshort?No
ActionGroupIDformshort?No
IsNetworkActionformboolNo
IsGroupActonformboolNo
DelegateLevelformbyteNo
LevelformbyteNo
DeleteformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/oneway/PrivilegesUpdate HTTP/1.1 
Host: 1.hyper.id 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"updates":[{"privilegeID":0,"siteID":0,"groupID":0,"personID":0,"actionID":0,"actionGroupID":0,"isNetworkAction":false,"isGroupActon":false,"delegateLevel":0,"level":0,"delete":false}]}