Python
import requests url = "https://platform.ankra.app/api/v1/org/operations/{operation_id}/cancel" headers = {"Authorization": "Bearer <token>"} response = requests.post(url, headers=headers) print(response.text)
{ "updated_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Operation cancelled successfully