Ana içeriğe atla
post/v1/api-keys/{key_id}/rotate

Rotate an API key (24h grace on the previous secret)

Parametreler

ParametrelerTipZorunluAçıklama
key_id(path)string
User-Agent(header)string
authorization(header)

Yanıtlar

  • 200Successful Response
    • summaryobjectZorunlu

      Public-safe shape — never includes the raw secret.

      Açıklama
      • idstringZorunlu
      • namestringZorunlu
      • prefixstringZorunlu
      • scopesarrayZorunlu
      • environmentenum (2)Opsiyonel
      • ip_allow_listarrayZorunlu
      • expires_atanyOfZorunlu
      • last_used_atanyOfZorunlu
      • created_atstring <date-time>Zorunlu
      • rotated_old_expires_atanyOfOpsiyonel
      • previewanyOfOpsiyonel
    • secretstringZorunlu
  • 422Validation Error
    • detailarrayOpsiyonel
POST /v1/api-keys/{key_id}/rotate | AIDE