Search code examples
apiibm-cloud-infrastructure

SoftLayer API which User_Customer_CustomerPermission_Permission value controls "Power on"


On the SoftLayer Customer Portal list of devices, Virtual Server -> Acton, I can see action options of "Reboot, Power On/Off, Rename device, View Audit Logs".

The SoftLayer API SoftLayer_User_Customer_CustomerPermission_Permission/getAllObjects gives a list of permissions.

Which SoftLayer_User_Customer_CustomerPermission_Permission value should I revoke from the user account if I want to revoke the user's right to do Reboot/Power on/Power Off and still leave the user's right of "Rename device" ?


Solution

  • You have to remove this permission Rebbot/Power on, off/:

    {
    "key": "H_2"
    "keyName": "REMOTE_MANAGEMENT"
    "name": "IPMI"
    }
    

    and you have to grant this permission to rename the device:

    {
    "key": "H_7"
    "keyName": "HOSTNAME_EDIT"
    "name": "Hostname"
    }