deleteObject


SoftLayer_User_Permission_Group::deleteObject

Delete a new customer permission group

Description

Customer users can only delete permission groups of type NORMAL. The SYSTEM type is reserved for internal use. The user who is creating the permission group must have the permission to manage users.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throws the exception “You cannot delete group: Permission Denied.” if a customer user attempts to delete a permission group without the proper permission.
  • Throws the exception “You cannot delete system group” if a customer user attempts to delete a SYSTEM permission group.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Permission_Group/{SoftLayer_User_Permission_GroupID}/deleteObject'