Rollback to a historical deployment (re-deploy historical source)
curl --request POST \
--url https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Applications
Rollback to a historical deployment (re-deploy historical source)
POST
/
api
/
apps
/
{appId}
/
deployments
/
{deploymentId}
/
rollback
Rollback to a historical deployment (re-deploy historical source)
curl --request POST \
--url https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/{appId}/deployments/{deploymentId}/rollback"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parâmetros de caminho
Minimum string length:
1Required string length:
36Resposta
default
Response
Última modificação em 6 de outubro de 2026

