import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal \
--header 'Authorization: Bearer <token>'{
"password": "<string>",
"username": "<string>",
"rotated_at": "<string>"
}Read the demo password
Answer the password that opens this application’s protected demos, for a member who may configure demos. Ankra keeps each minted password encrypted in its secret store and verifies it against the enforced hash before answering, so the answer always opens the current previews. The response is not cacheable. 409 demo_not_protected when the demos have no password; 409 demo_password_not_retrievable when the password was set before Ankra kept preview passwords (rotate it to get one that can be read); 503 secret_store_unavailable when the platform runs without a secret store. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/demo-config/protection/reveal \
--header 'Authorization: Bearer <token>'{
"password": "<string>",
"username": "<string>",
"rotated_at": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response