Widgets

Rotate Widget Embed Credential

Changed on

Issue a replacement credential and retire the outgoing one. With overlap_minutes > 0 both work until the window closes; with 0 the outgoing credential is revoked immediately.

post/v1/widgets/embed-credentials/{id}/rotate

Request

Path parameters

idstring required

The Nash widget embed credential id (wec_…).

Request body

namestring nullable

Label for the replacement. Defaults to the outgoing name.

overlap_minutesinteger

How long the outgoing credential keeps working. 0 retires it immediately.

Response

OK

Changes