Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name (can be “admin” for admin project) |
| name | string | Yes | Environment variable name |
Request Body
None.Response
Success Response (200 OK)
Error Response (400 Bad Request)
cURL Example
Permissions
- User must have
SECRETS+MANAGEpermission in the project
Notes and Warnings
-
Permanent Deletion:
- Environment variable is permanently deleted
- This action cannot be undone
-
Automatic Undeployment:
- Variable is automatically undeployed from all environments
- Undeployment results are returned in the response
Related Documentation
- List Environment Variables - List all environment variables
- Create Environment Variable - Create a new environment variable

