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

# RenameEnvironmentVariableInput

> A variable to rename. Whenever `name` is missing and `newName` exists, the call succeeds as a finished rename and changes nothing, so a retry is safe; a success therefore doesn't prove `name` existed.



**Kind**: `input`

## Fields

**`scope`**: `EnvironmentVariableScope!` (required)

Where the variables live.

---

**`environmentSlug`**: `String`

The environment's slug, with `scope: ENVIRONMENT`; leave it out for WORKSPACE. Agent environments are environments too.

---

**`name`**: `String!` (required)

The variable's current name.

---

**`newName`**: `String!` (required)

Its new name, which no other variable may have.



## Related topics

- [Administration API: Environment variables](https://docs.paradime.io/developers/graphql-api/admin-api/environment-variables.md)
- [Admin client: environment variables](https://docs.paradime.io/developers/python-sdk/modules/admin/environment-variables.md)
- [Administration API: Environments](https://docs.paradime.io/developers/graphql-api/admin-api/environments.md)
- [Agent Environment Variables](https://docs.paradime.io/products/settings/environment-variables/dinoai-background-agent-environment-variables.md)
- [Admin CLI](https://docs.paradime.io/developers/paradime-cli/admin-cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.