Skip to content

Retire a previous public key

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

Stop accepting licence keys signed with a previous signing key. Removes public_key from previous_public_keys: licence keys signed with it stop activating (licence_key_invalid), on another API instance within the product catalogue’s 30 seconds. 409 conflict for the current key, 404 public_key_not_found for a key the product does not accept.

id
required
string
/^[a-z0-9][a-z0-9-]{0,62}$/
Media typeapplication/json
object
public_key
required
string
/^[0-9a-fA-F]{64}$/
Examplegenerated
{
"public_key": "example"
}

Missing or invalid API key.

Needs scope products:write.