Skip to main content
GET
/
api
/
v1
/
org
/
stack-profiles
/
{profile_id}
/
versions
/
{version}
/
iac-export
Export Stack Profile Iac Endpoint
import requests

url = "https://platform.ankra.app/api/v1/org/stack-profiles/{profile_id}/versions/{version}/iac-export"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "profile_id": "<string>",
  "version": 123,
  "content_base64": "<string>",
  "parameters": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

profile_id
string<uuid4>
required
version
integer
required

Response

Successful Response

profile_id
string<uuid4>
required
version
integer
required
content_base64
string
required
parameters
ParameterSpec · object[]