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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/oneway/PrivilegesUpdate HTTP/1.1 
Host: 1.hyper.id 
Accept: text/jsv
Content-Type: text/jsv
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
		}
	]
}