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

# RotateApiKeyInput

> Input for rotating an API key



**Kind**: `input`

## Fields

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`expirationDate`**: `DateTime`

Optional grace period expiration date for the old key, expires immediately if null

---

**`id`**: `UUID!` (required)

Unique identifier for the entity



## Related topics

- [rotateApiKey](https://docs.stigg.io/graphql-reference/mutations/rotateApiKey.md)
- [ApiKeyScopeInput](https://docs.stigg.io/graphql-reference/types/ApiKeyScopeInput.md)
- [RotateApiKeyResult](https://docs.stigg.io/graphql-reference/types/RotateApiKeyResult.md)
- [RevokeApiKeyInput](https://docs.stigg.io/graphql-reference/types/RevokeApiKeyInput.md)
- [UpdateApiKeyInput](https://docs.stigg.io/graphql-reference/types/UpdateApiKeyInput.md)


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