---
title: "Starts rolling back the currently on-going upgrade of an application in the Service Fabric cluster."
method: POST
path: "/Applications/{applicationId}/$/RollbackUpgrade"
tags: ["Application"]
---

# Starts rolling back the currently on-going upgrade of an application in the Service Fabric cluster.

`POST /Applications/{applicationId}/$/RollbackUpgrade`

Starts rolling back the current application upgrade to the previous version. This API can only be used to roll back the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version, including rolling back to a previous version.

## Path parameters

- `applicationId` string, required

## Query parameters

- `api-version` '6.0', required
- `timeout` integer

## Response `200`

A successful response means that the application has started to roll back. Use GetApplicationUpgrade operation to get the status of the upgrade.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/versions/6ebed3032b57/schema)
