"SoftLayer_" prefix removed for readability.
Grant access to the user for one or more dedicated hosts devices.
Grants the user access to one or more dedicated host devices. The user will only be allowed to see and access devices in both the portal and the API to which they have been granted access. If the user’s account has devices to which the user has not been granted access, then “not found” exceptions are thrown if the user attempts to access any of these devices.
Users can assign device access to their child users, but not to themselves. An account’s master has access to all devices on their customer account and can set dedicated host access for any of the other users on their account.
Name | Type | Description |
---|---|---|
dedicatedHostIds | int[] | Dedicated Host IDs |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer/{SoftLayer_User_CustomerID}/addBulkDedicatedHostAccess'