post
/v1/api-keys/{key_id}/rotateRotate an API key (24h grace on the previous secret)
Parametreler
| Parametreler | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| key_id(path) | string | ✓ | — |
| User-Agent(header) | string | — | — |
| authorization(header) | — | — | — |
Yanıtlar
- 200Successful Response
summaryobjectZorunluPublic-safe shape — never includes the raw secret.
Açıklama
idstringZorunlunamestringZorunluprefixstringZorunluscopesarrayZorunluenvironmentenum (2)Opsiyonelip_allow_listarrayZorunluexpires_atanyOfZorunlulast_used_atanyOfZorunlucreated_atstring <date-time>Zorunlurotated_old_expires_atanyOfOpsiyonelpreviewanyOfOpsiyonel
secretstringZorunlu
- 422Validation Error
detailarrayOpsiyonel