palbaseDocs

Palbase ai · API

DELETE/ai/environments/{name}

Delete a runtime environment

Deletes a runtime environment.

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

Path

namestring · requiredThe environment's name.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/ai/environments/<name>" \
  -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

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

Operation DeleteEnvironment of ai's contract.