Rotate key
Replace a customer key with a new one, returned in full only once.
Authentication
x-api-keystring
Your API key, using a test key for the sandbox and a live key for production.
Path parameters
id
Unique identifier of the resource.
keyId
The identifier of the customer key.
Headers
Idempotency-Key
Unique key used to safely retry the same state-changing request.
Request
This endpoint expects an object.
expires_at
The expiry of the new key. Leave it out to keep the previous expiry, or send null for a key that never expires.
Response
Key rotated successfully.
message
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error