addBulkResourceObjects


SoftLayer_User_Permission_Group::addBulkResourceObjects

Links multiple account device objects of the same resource type to the group.

Description

Links multiple SoftLayer_Hardware_Server, SoftLayer_Virtual_Guest, or SoftLayer_Virtual_DedicatedHost objects to the group. All objects must be of the same type.

Parameters

Name Type Description
resourceObjects SoftLayer_Entity[] The resource records to add to this group. See SoftLayer_User_Permission_Resource_Type for the valid entities for this request.
resourceTypeKeyName string An optional keyname for the type of resources provided. See SoftLayer_User_Permission_Resource_Type for the valid entities for this request.

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Entity, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Permission_Group/{SoftLayer_User_Permission_GroupID}/addBulkResourceObjects'