cURL
curl --request POST \ --url https://api.headlesscommerce.io/v1/admin/api-keys/{id}/rotate \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "type": "secret", "mode": "live", "key_hint": "<string>", "is_active": true, "last_used_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "key": "<string>" }
API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx
리소스 ID
Success
secret
publishable
live
test
마스킹된 키 (sk_live_...abc)
새 원본 키 (1회 반환)