Resume Ankra for an application
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause \
--header 'Authorization: Bearer <token>'{
"application_id": "<string>",
"paused": true,
"paused_at": "2023-11-07T05:31:56Z",
"paused_by": "<string>",
"reason": "<string>"
}{
"detail": "<string>"
}Applications
Resume Ankra for an application
Lifts the application’s pause, so what Ankra does unasked on its placements runs again under the application’s own autonomy setting. Resuming an application that is not paused changes nothing and answers its current state. Each change is audited with who made it and the pause it lifted. Requires applications.write.
DELETE
/
api
/
v1
/
org
/
applications
/
{application_id}
/
autonomy-pause
Resume Ankra for an application
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/autonomy-pause \
--header 'Authorization: Bearer <token>'{
"application_id": "<string>",
"paused": true,
"paused_at": "2023-11-07T05:31:56Z",
"paused_by": "<string>",
"reason": "<string>"
}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
The application's pause as the request left it