# Cancel Simulation

Cancels simulation with given id if it is running

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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"
}
Path Params
uint64
required

Simulation ID (URI parameter)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json