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

# DevinApi.enterprise.RotateApiKeyRequest

## Properties

**api\_key\_id** `string` *required*

**new\_key\_expires\_at** `number | null`

Optional expiration for the new key as a UNIX timestamp in seconds. Null for no expiration.

**revoke\_current** `boolean`

Whether to revoke the current key. Set to False for graceful rollover.

**service\_user\_id** `string` *required*

Service user ID (prefix: service-user-)


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