Palbase ai · API
DELETE
/ai/env/allowances/{allowance_id}Take an allowance away
The host taken away from the agent's secret: an ask for it is asked again. A person's alone: an owner or an admin of the organization signed in, never a key or a token, the secret key included (403 person_required; an environment's token, token_out_of_scope).
Called by your server, with the project's secret key.
Path
allowance_idstring · requiredThe allowance (sha_…).curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/env/allowances/<allowance_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
204Taken away
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
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation DeleteEnvAllowance of ai's contract.