Overview
The Delete Environment Variable endpoint permanently removes an environment variable from your Checkly account. Once deleted, the variable will no longer be available to any checks or scripts. Common Use Cases:- Variable Cleanup
- Security Maintenance
- Configuration Management
- Unused Variable Removal
Deleting environment variables is permanent and will cause failures in any checks or scripts that reference them. Ensure no active monitoring depends on the variable before deletion.
Before deleting variables, review all checks and scripts to ensure they don’t reference the variable. Consider updating or disabling dependent checks first.
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here.
Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL:
curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Path Parameters
Response
No Content