unlinkGroup


SoftLayer_User_Permission_Role::unlinkGroup

Unlinks a permission group to the role.

Description

Unlinks a SoftLayer_User_Permission_Group object to the role.

Parameters

Name Type Description
group SoftLayer_User_Permission_Group Unink role to provided group.

Required Headers

Optional Headers

  • None

Return Values

  • void

Error Handling

  • Throws the exception “Can’t unlink role and group: Permission Denied.” if a customer user attempts this request without the proper permission.
  • Throws the exception “Invalid group” if the permission group does not exist.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_User_Permission_Group]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Permission_Role/{SoftLayer_User_Permission_RoleID}/unlinkGroup'