Issue a replacement; the old key stops working at revokeAt (checked per request)
POST https://connect.seatpreevue.com/v1/manage/keys/{keyId}/rotate
Operation rotateKey · Management
Authentication: a secret key (sk_live_…). See Authentication.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
keyId |
path | string matching ^key_[A-Za-z0-9]{12,}$ |
yes |
Request body
application/json: object
| Field | Type | Required | Description |
|---|---|---|---|
graceSeconds |
integer |
Responses
| Status | Description | Body |
|---|---|---|
| 201 | New key | ApiKeyWithSecret |
| 401 | Missing, unknown or revoked key | Problem |
| 404 | Not found | Problem |
| 409 | The key changed concurrently or was revoked (conflict); no new key was issued |
Problem |