Serve an earlier production deployment again
post/hosting/sites/{id}/deployments/{dep}/rollback
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_hosting_deployment_rollback- Graphql
Mutation.hostingDeploymentRollback- Sdk
hosting.deployment.rollback- Cli
hosting deployment rollback- Events
hosting.deployment.rolledBack
Parameters
- idstring (uuid)requiredIn the path
- depstring (uuid)requiredIn the path
Responses
- 200application/jsonSuccess
- idstring (uuid)required
- projectIdstring (uuid)required
- kindstringrequiredOne of: production, preview.
- statestringrequired
- sourcestringrequired
- refstringrequired
- bundleBytesnumberrequired
- urlstring or nullrequired
- releasestring or nullrequired
- promotedFromstring (uuid) or nullrequired
- errorstring or nullrequired
- expiresAtstring or nullrequired
- createdBystringrequired
- createdAtstringrequired
- finishedAtstring or nullrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring