post
/v1/api-keysCreate a new API key (secret returned exactly once)
Parametreler
| Parametreler | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| User-Agent(header) | string | — | — |
| authorization(header) | — | — | — |
İstek gövdesi
namestringZorunluscopesarrayOpsiyonelenvironmentenum (2)Opsiyonelexpires_in_daysanyOfOpsiyonelip_allow_listarrayOpsiyonel
Yanıtlar
- 201Successful 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