removeBulkActions


SoftLayer_User_Permission_Group::removeBulkActions

Remove a list of permission actions from the group.

Description

Unassigns multiple SoftLayer_User_Permission_Action objects from the group.

Parameters

Name Type Description
actions SoftLayer_User_Permission_Action[] Permission Actions to be removed.

Required Headers

Optional Headers

  • None

Return Values

  • void

Error Handling

  • Throws the exception “You cannot remove action to group: Permission Denied.” if a customer user attempts this request without the proper permission.
  • Throws the exception “Can’t access action” if the permission action does not exist.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_User_Permission_Action]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Permission_Group/{SoftLayer_User_Permission_GroupID}/removeBulkActions'