The DeviceEnable command can be used to enable or disable one more GPUs.

Parameters

ids [list of int numbers] required
the list of GPU numbers to apply the command to.
enabled [bool] required
true to enable the GPUs or false to disable.

Examples

//Disabling two GPUs
{
    "command": "deviceenable",
    "key":"mykey", 
    "parameters": {
        "ids": "[0,1]",
        "enabled": "false"
    }
}

//Enabling a single GPU
{
    "command": "deviceenable",
    "key":"mykey", 
    "parameters": {
        "ids": "[0]",
        "enabled": "true"
    }
}

Notes

GPUs cannot be enabled or disabled during the daily developer contribution.