Customer Rights TokenRotate the CRT signing secret

Rotate the CRT signing secret

Registers a brand-new secret with DRMtoday and removes the old one. The old secret stops working the moment this call returns - update your backend immediately with the new kid and secret.

curl -X POST "https://api.5centscdn.com/v2/drm/crt/rotate" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "kid": "1f0e7a52-3c9d-4b8a-9e6f-2d4c8b7a1e90",
  "secret": "0b9d4e1f7a3c6e8d2f5a1b4c7e9d0a3f6b8c1e4d7a9f2b5c8e0d3a6f9b1c4e7d"
}
POST
/drm/crt/rotate
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Responses

resultstring

Operation outcome.

Allowed values:successerror
kidstring

Key ID of the new signing secret.

secretstring

Hex-encoded new shared signing secret.