> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Variables API

> The Environment Variables API provides endpoints for managing environment variables in Apinizer. Environment variables allow you to store configuration values that can vary between environments (e.g., API endpoints, database URLs, API keys).

## Endpoints

* [List Environment Variables](/api-reference/environment-variables/crud/list-environment-variables) - Get all environment variables for a project
* [Get Environment Variable](/api-reference/environment-variables/crud/get-environment-variable) - Get a specific environment variable
* [Create Environment Variable](/api-reference/environment-variables/crud/create-environment-variable) - Create a new environment variable
* [Update Environment Variable](/api-reference/environment-variables/crud/update-environment-variable) - Update an existing environment variable
* [Delete Environment Variable](/api-reference/environment-variables/crud/delete-environment-variable) - Delete an environment variable

## Authentication

All endpoints require authentication using a Personal API Access Token.

## Permissions

### GET Operations (List/Get Environment Variable)

* User must have **`GLOBAL_SETTINGS` + `VIEW`** permission in the project
* If the asset category does not exist, user must have **at least one permission** in the project

### POST/PUT/DELETE Operations (Create/Update/Delete Environment Variable)

* User must have **`GLOBAL_SETTINGS` + `MANAGE`** permission in the project

### Permission Requirements

| Operation                                 | Required Permission                                                      |
| ----------------------------------------- | ------------------------------------------------------------------------ |
| List/Get Environment Variable             | `GLOBAL_SETTINGS` + `VIEW` (or any permission if category doesn't exist) |
| Create/Update/Delete Environment Variable | `GLOBAL_SETTINGS` + `MANAGE`                                             |

## Related Documentation

* [Authentication Guide](/api-reference/getting-started/authentication) - How to obtain and use API tokens
* [Error Handling](/api-reference/getting-started/error-handling) - Error response formats
