Changing a Pool desired state

Format

MethodPOST
URL

/tasks/create

Request contentsPoolAction Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

PoolAction Object

Schema

typeStringTask type identifier. In this case, "pool_action"
pool_idStringPool's unique identifier
actionStringAction to be applied to this Pool. Either "disable" or "enable"

JSON example

{
    "type": "pool_modify",
    "pool_id": "testpool",
    "action": "disable"
}