POST
/v1/services/{serviceId}/rollbackRoll a service back to an existing deployment⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Makes any eligible existing deployment live behind the service's stable endpoint (rollback or roll-forward). Unlike promote, a stopped target is started and waited until it is running before the endpoint is switched, so the currently-live deployment keeps serving with zero downtime. Returns the service endpoint domain.
Parameters
serviceIdstringpathrequiredRequest body
application/json
object
deploymentIdstringversionIdstringDeprecated: use `deploymentId` instead. Ignored when `deploymentId` is also present.
{
"deploymentId": "string",
"versionId": "string"
}Responses
object
dataobjectrequiredShow child attributes
appEndpointDomainstringrequiredreassignedDomainsnumberrequired{
"data": {
"appEndpointDomain": "string",
"reassignedDomains": 0
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}