Skip to content

Regenerate API Key

POST
/api/widgets/{id}/regenerate-key

Generate a new API key for the widget (invalidates the old one)

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Parameters

Path Parameters

id*
Typestring
Required

Responses

New API key generated

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation