Ory.Model.AdminRotateIssuedApiKeyBody (ory_client v1.22.40)

Copy Markdown

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.

Summary

Types

t()

@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
}

Functions

decode(value)