palbaseDocs

Palbase ai · API

DELETE/ai/pools/{pool}

Delete a runner pool

A pool with no machine left in it: cordon each machine, delete it once it holds no session (DELETE /ai/machines/{machine}), then the pool. One with machines: 409 pool_not_empty.

Called by your server, with the project's secret key.

Path

poolstring · requiredThe pool: its id, or its name.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/pools/<pool>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Deleted

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

409The response's state refuses it

503The model service or the database did not answer; retry shortly

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation DeletePool of ai's contract.