Functions
Roll back to a previous deployment
Changed onRe-deploy a previous version by copying its source, dependencies, and runtime pin onto the function's draft, then deploying. Returns immediately with a deployment ID — poll GET /v1/functions/deployments/{deploymentId} until status is active or failed. Secrets are not rolled back.
post/v1/functions/{functionId}/rollback
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/functions/{functionId}/rollback
- AuthHTTP bearer
Path parameters
functionIdstring required
Zavu Function ID.
Request body
Response
Rollback deployment queued.
Example response
{
"deployment": {
"id": "fnd_abc123"
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info