AutoConfig
Rotate Token
Changed onRotate the auth token and signing secret for an AutoConfig subscription.
post/api/v1/app/{app_id}/autoconfig/{autoconfig_id}/rotate
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/app/{app_id}/autoconfig/{autoconfig_id}/rotate
- AuthHTTP bearer
Path parameters
app_idstring required
The Application's ID or UID.
Example:unique-identifier
autoconfig_idstring required
The AutoConfigSubscription's ID.
Example:auto_1srOrx2ZWZBpBUvZwXKQmoEYga2
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"signingSecret": {
"key": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
}
}Response
Example response
{
"id": "auto_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"token": "auto_v2_eyJhaWQiOiJhcHBfMXNyT3J4MlpXWk..."
}Changes
- info
added the required property
to the response with the status
- info
- info
api operation id
v1.endpoint.autoconfig.rotateremoved and replaced withv1.autoconfig-subscription.rotate
- info