Update an event launch (deprecated path)
Deprecated: use PATCH /v1/pentests/{pentest_slug}/launches/{launch_id} instead.
Update a launch's mutable fields.
Restricted to machine callers operating within the pentest's scope.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://api.ethiack.com/v1/events/string/launches/0" \ -H "Content-Type: application/json" \ -d '{ "status": "pending", "error_info": "string", "start_time": "2019-08-24T14:15:22Z", "finish_time": "2019-08-24T14:15:22Z" }'{
"id": 0,
"pentest_id": 0,
"machine_user_id": "8627f65e-e325-4242-8d74-74ec65babc68",
"mode": 0,
"status": "pending",
"error_info": "string",
"sub_job_id": 0,
"start_time": "2019-08-24T14:15:22Z",
"finish_time": "2019-08-24T14:15:22Z",
"created": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List event launches (deprecated path) GET
Deprecated: use `GET /v1/pentests/{pentest_slug}/launches/` instead. List the launches dispatched for a pentest. Restricted to machine callers operating within the pentest's scope.
List events (deprecated path) GET
Deprecated: use `GET /v1/pentests/` instead. List pentests visible to the caller.