# `Ory.Model.AdminRotateIssuedApiKeyBody`

RotateIssuedApiKeyRequest is the request for AdminRotateIssuedApiKey.  Rotation is a custom method (AIP-136) that swaps an active key for a new one with a fresh secret and key_id, then revokes the old key. It is not a partial update, so it does not carry an update_mask. Mutable fields use presence-based semantics: an absent field inherits from the old key, while a present field (including an explicitly empty value) overrides.

# `t`

```elixir
@type t() :: %Ory.Model.AdminRotateIssuedApiKeyBody{
  ip_restriction: Ory.Model.IpRestriction.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  rate_limit_policy: Ory.Model.RateLimitPolicy.t() | nil,
  scopes: [String.t()] | nil,
  visibility: Ory.Model.KeyVisibility.t() | nil
}
```

# `decode`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
