Cancels simulation with given id if it is running

About

You can cancel a running simulation with Cancel Simulation endpoint by using the Simulation ID got from Simulation List endpoint.

Example

Cancel simulation with id 1

curl --request PUT \
  --url 'https://api.picussecurity.com/v1/simulations/1/cancel' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer access_token'
{
    "success": true
}
{
    "success": false,
    "message": "simulation is not running"
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!