Events
Remove an event scope asset (deprecated path)
Deprecated: use DELETE /v1/pentests/{pentest_slug}/scope/assets/{asset_id} instead.
Remove an asset from the pentest scope.
Restricted to organization and partner integrators.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
asset_id*integer
event_slug*string
Response Body
application/json
application/json
curl -X DELETE "https://api.ethiack.com/v1/events/string/scope/assets/0"{
"code": 0,
"description": "string",
"id": 0,
"success": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Add an event scope asset (deprecated path) POST
Deprecated: use `POST /v1/pentests/{pentest_slug}/scope/assets/` instead. Add an asset to the pentest scope. Restricted to organization and partner integrators.
Get an event scope asset (deprecated path) GET
Deprecated: use `GET /v1/pentests/{pentest_slug}/scope/assets/{asset_id}` instead. Return one scope asset (404 if not found or not authorized).