# ApiKeyUpdateDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Allows changing the friendly name, activation status, and optional expiration date of an API key to support rotation policies and incident response.

## Fields
- `name` (string) required: New human-friendly label for the key (optional) (nullable, max length 32)
- `active` (boolean): Set to true to enable the key, false to disable it
- `expireAt` (string(date-time)): Optional UTC timestamp to set/update expiration; null clears expiration (nullable)
- `allowedCidrs` (array<string>): Gets or sets the source addresses this key may be used from, as CIDR ranges or bare IPv4 or  IPv6 addresses. `null` or empty means the key is not bound to any address and may be  used from anywhere, which is the default and what every existing key carries. (nullable, max items 50)
- `scopes` (array<string>): Gets or sets the capability scopes this key is restricted to. `null` or empty means the  key is unrestricted, which is the default and what every existing key carries. (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
