Skip to main content
POST
Roll back to a previous deployment

Authorizations

Authorization
string
header
required

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

Path Parameters

functionId
string
required

Zavu Function ID.

Body

application/json
deploymentId
string
required

ID of the deployment to roll back to.

Response

Rollback deployment queued.

deployment
object
required
rolledBackToVersion
integer
previousDraft
object | null

The draft that was replaced, so a UI can offer to restore it.