> ## 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.

# RotateApiKeyResult

> Result of rotating an API key



**Kind**: `object`

## Fields

**`newApiKey`**: `ApiKey!`

The newly created API key details

---

**`oldApiKey`**: `ApiKey`

The old API key that is being rotated out



## Related topics

- [rotateApiKey](https://docs.stigg.io/graphql-reference/mutations/rotateApiKey.md)
- [RotateApiKeyInput](https://docs.stigg.io/graphql-reference/types/RotateApiKeyInput.md)
- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [API Keys](https://docs.stigg.io/documentation/managing-your-account/environments/api-keys.md)
- [API Client (JS)](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/api-client-js.md)


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