Approve or decline the Platform connection request
import requests
url = "https://platform.ankra.app/oauth/cloud/authorize/decision"
payload = { "nonce": "<string>" }
headers = {
"cookie": "ankra_session=",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({nonce: '<string>'})
};
fetch('https://platform.ankra.app/oauth/cloud/authorize/decision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/oauth/cloud/authorize/decision \
--header 'Content-Type: application/x-www-form-urlencoded' \
--cookie ankra_session= \
--data 'nonce=<string>'Cloud Delegation
Approve or decline the Platform connection request
Requires the same Platform browser, authenticated subject, a single-use CSRF nonce paired with an HttpOnly host-only cookie, and the Platform Origin header. Membership and MFA are rechecked before issuing a 60-second code. Refuses cross-origin submissions.
POST
/
oauth
/
cloud
/
authorize
/
decision
Approve or decline the Platform connection request
import requests
url = "https://platform.ankra.app/oauth/cloud/authorize/decision"
payload = { "nonce": "<string>" }
headers = {
"cookie": "ankra_session=",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'ankra_session=', 'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({nonce: '<string>'})
};
fetch('https://platform.ankra.app/oauth/cloud/authorize/decision', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/oauth/cloud/authorize/decision \
--header 'Content-Type: application/x-www-form-urlencoded' \
--cookie ankra_session= \
--data 'nonce=<string>'Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Body
application/x-www-form-urlencoded
Response
Exact configured Cloud callback with code and state, or access_denied and state.