Palbase ai · API
POST
/ai/pool-keys/{key}/revokeRevoke an enrolment key
No machine enrols with it any more; the machines enrolled with it before are not touched (cordon and delete one: /ai/machines/{machine}).
Called by your server, with the project's secret key.
Path
keystring · requiredThe key's id (GET /ai/pools/{pool}/keys).curl
curl -X POST "https://<your-ref>.palbase.studio/ai/pool-keys/<key>/revoke" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
204Revoked
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
503The model service or the database did not answer; retry shortly
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation RevokePoolKey of ai's contract.