v60

latestOpenAPI 3.0.0Mozilla Public License 2.0raw.githubusercontent.com2026-07-3167151417.8 KB
Endpoints

Roll endpoint secret

This endpoint expires and re-generates the endpoint secret.

put/v1/projects/{projectID}/endpoints/{endpointID}/expire_secret

Path parameters

projectIDstring required

Project ID

endpointIDstring required

Endpoint ID

Request body

expirationinteger

Amount of time to wait before expiring the old endpoint secret. If AdvancedSignatures is turned on for the project, signatures for both secrets will be generated up until the old signature is expired.

secretstring

New Endpoint secret value.

Response

OK

messagestring
statusboolean