POST
/
api
/
v1
/
clusters
/
resources
/
roll-to
Roll To Cluster Resource Version Endpoint
import requests

url = "https://platform.ankra.app/api/v1/clusters/resources/roll-to"

payload = {
    "cluster_id": "<string>",
    "version_id": "<string>"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
{
  "ok": true
}

Headers

authorization
string | null

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.