Clear Variable

Clear an app's environment variable: it stays listed with an empty value.

Clear one of the app's variables. It stays in the list with an empty value (value: "", is_set: true), and the app gets an empty value at its next start, not the default. To go back to the default, set it again. Needs a key whose creator may manage apps in the workspace.

DELETE /v1/launchpad/apps/:app_id/env/:key

Variables are never removed: the list always holds every variable the app supports.

Path parameters

app_idstringrequired

The app's ID.

keystringrequired

The variable's name, as the app lists it (any case).

Response

type'launchpad_env_var_deleted'optional

Always launchpad_env_var_deleted.

keystringoptional

The cleared variable's name, as the app lists it.

Errors

StatusReason
400A name the app doesn't list, a variable managed by Launchpad, or a read-only connection variable (while the app uses the Aivene AI connection).
404No app with this ID exists in the key's workspace.
409The app is expired, suspended or deleting.