Reapply the current role envelope (ai.manage and organisation admin)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}/reapply-template"
payload = { "force": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({force: true})
};
fetch('https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}/reapply-template', 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/ai-tasks/{task_id}/reapply-template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"force": true
}'{}AI Management
Reapply the current role envelope (ai.manage and organisation admin)
POST
/
api
/
v1
/
org
/
ai-tasks
/
{task_id}
/
reapply-template
Reapply the current role envelope (ai.manage and organisation admin)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}/reapply-template"
payload = { "force": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({force: true})
};
fetch('https://platform.ankra.app/api/v1/org/ai-tasks/{task_id}/reapply-template', 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/ai-tasks/{task_id}/reapply-template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"force": true
}'{}