Functions

Rotate binding credentials

Mints a fresh credential and refreshes the injected env vars; the old credential stops working immediately. Zero-downtime redeploy.

post/api/v1/functions/{function_id}/bindings/{binding_id}/rotate

Path parameters

function_idstring required

Function ID, short id (fn-…), URL slug, or name

binding_idstring uuid required

Response

Rotated

successboolean

Changes