palbaseDocs

Palbase ai · API

DELETE/ai/env/{key}

Remove a variable

Sessions begun from now no longer have it.

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

Path

keystring · requiredThe variable's name: upper-case letters, digits and _, starting with a letter, at most 128; not PALBASE_AI_….
curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/env/<key>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Removed

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 DeleteEnv of ai's contract.