Skip to content

Rotate Secret

Rotate event subscription secret
post/v1/event_subscriptions/{event_subscription_token}/secret/rotate

Rotate the secret for an event subscription. The previous secret will be valid for the next 24 hours.

Path Parameters
event_subscription_tokenstring
Request example Request
curl https://api.lithic.com/v1/event_subscriptions/$EVENT_SUBSCRIPTION_TOKEN/secret/rotate \
    -X POST \
    -H "Authorization: $LITHIC_API_KEY"