Skip to content

Rotate a product's signing key

POST
/v1/admin/products/{id}/rotate-signing-key
curl --request POST \
--url https://api.sealcord.com/v1/admin/products/example/rotate-signing-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "keep_previous": true }'

Generates a new signing key and stores it encrypted; the old public key keeps verifying existing licence keys unless keep_previous is false.

id
required
string
/^[a-z0-9][a-z0-9-]{0,62}$/
Media typeapplication/json
object
keep_previous
boolean
default: true

Missing or invalid API key.

Needs scope products:write.