editObject


SoftLayer_User_Permission_Group::editObject

Edit an existing customer permission group

Description

Allows a user to modify the name and description of an existing customer permission group. Customer permission groups must be of type NORMAL. The SYSTEM type is reserved for internal use. The account id supplied in the template permission group must match account id of the user who is creating the permission group. The user who is creating the permission group must have the permission to manage users.

Parameters

Name Type Description
templateObject SoftLayer_User_Permission_Group A skeleton SoftLayer_User_Permission_Group object with only the properties defined that you wish to change. Unchanged properties are left alone.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throws the exception “You cannot edit group: Permission Denied.” if a customer user attempts to edit a permission group without the proper permission.
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_Group/{SoftLayer_User_Permission_GroupID}/editObject'