Public APIAPI ReferenceEnvironment
Delete an app environment variable.
Beta API
The /v1 API contract may change, including breaking changes without compatibility aliases.
DELETE
/v1/apps/{appId}/env/{key}A team owner or member can delete a variable. Omitting target deletes both production and preview values for the key. Deletion is rejected when another plain variable in an affected target references the key; the error lists those variables. CLI: ntro env rm. Only users with a verified email can use this.
Authorization
bearerAuth AuthorizationBearer <token>
Use an access token obtained by logging in or exchanging an API token. First exchange an ntro_ API token for an access token through the login server.
In: header
Path Parameters
appId*string
key*string
Query Parameters
target?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/apps/string/env/string"Empty