Skip to main content
DELETE
/
api
/
public
/
v2
/
tool-registry
/
{identifier}
/
env-vars
/
{var_id}
Delete Tool Env Var
curl --request DELETE \
  --url https://api.promptlayer.com/api/public/v2/tool-registry/{identifier}/env-vars/{var_id} \
  --header 'X-API-KEY: <api-key>'
{
  "success": true
}
Permanently delete a tool-scoped environment variable.

Authorizations

X-API-KEY
string
header
required

Path Parameters

identifier
string
required

Tool ID (numeric) or name

var_id
integer
required

Response

Successful Response

success
boolean