/
Changing a Pool desired state

Changing a Pool desired state

Format

MethodPOST
URL

/tasks/create

Request contentsPoolAction Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

PoolAction Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of an error
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

{
    "repeat": "0",    
    "retries": "0",
    "type": "pool_modify",
    "pool_id": "testpool",
    "action": "disable"
}

Related content

Changing a Pool desired state
Changing a Pool desired state
More like this
Changing a Pool desired state
Changing a Pool desired state
More like this
Requesting a Pool resources rebalance
Requesting a Pool resources rebalance
More like this
Modifying a Pool
More like this
Removing a Pool
More like this
Changing Host desired state
Changing Host desired state
More like this