Update a pool with the specified name and concurrency limit. You cannot update the default pool. The default pool’s concurrency limit is adjusted to accommodate the new concurrency limit. A pool’s concurrency limit cannot be reduced if it has more running attempts than its new reduced concurrency limit.
Security
ApiKeyAuth
Maximum number of concurrent attempts that can run in this pool. Total concurrency limit of all pools cannot exceed the account's concurrency limit.
Example:10
- awshttps://api-workflow.treasuredata.com/api/pools/{poolId}
- aws-tokyohttps://api-workflow.treasuredata.co.jp/api/pools/{poolId}
- eu01https://api-workflow.eu01.treasuredata.com/api/pools/{poolId}
- ap02https://api-workflow.ap02.treasuredata.com/api/pools/{poolId}
- ap03https://api-workflow.ap03.treasuredata.com/api/pools/{poolId}
curl -i -X PATCH \
'https://api-workflow.treasuredata.com/api/pools/{poolId}' \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"concurrencyLimit": 10,
"name": "activation"
}'Pool updated
Maximum number of concurrent attempts that can run in this pool. Total concurrency limit of all pools cannot exceed the account's concurrency limit.
Example:10
Response
{ "concurrencyLimit": 10, "default": true, "id": "42", "name": "activation" }