Trillet AI logo

Rotate the signing secret

Trillet OEM API: Returns a new secret.

POSThttps://api.trillet.ai/partner/v1/webhook-endpoints/{id}/rotate-secret

Returns a new secret. The previous secret keeps signing alongside the new one for 24 hours. Needs webhooks:write and a key that is not restricted to some tenants.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

The webhook endpoint ID.

Pattern: ^[a-fA-F0-9]{24}$

Response

application/json

The endpoint with its new secret.

Last updated on