Page tree
Skip to end of metadata
Go to start of metadata

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"
}
  • No labels