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_create"
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": "pruebapool",
    "action": "disable"
}