Rotate an event destination's signing secret
Changed onMints a new signing secret and returns it in secret. This is the only response other than create that carries the plaintext, so store it on receipt. The outgoing secret keeps signing for previous_secret_expires_in_seconds (24 hours by default, 0 for an immediate cutover), and during that overlap each delivery carries one v1= signature per active secret, so either one verifies while you roll out the new one.
Request
- Base URL: https://api.ekho.com
- URL: https://api.ekho.com/event-destinations/{event_destination}/rotate-secret
- Auth: HTTP bearer
Path parameters
Request body
Example request
{
"previous_secret_expires_in_seconds": 3600
}Response
The signing secret was rotated.
Example response
{
"data": {
"id": "whe_a1b2c3d4e5f6",
"api_version": "v1",
"secret": "whsec_4f1d…"
}
}Changes
- warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
external_id_in_useenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
requires_ekho_reviewenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status - warning
added the new
resource_not_writableenum value to theresponse property for the response status
- warning