Ethiack Docs
Events

Update event scope (deprecated path)

PATCH
/v1/events/{event_slug}/scope/

Deprecated: use PATCH /v1/pentests/{pentest_slug}/scope/ instead.

Bulk-move assets between in- and out-of-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

event_slug*string

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/scope/" \  -H "Content-Type: application/json" \  -d '{    "in_scope": [      0    ],    "out_of_scope": [      0    ]  }'
{
  "code": 0,
  "description": "string",
  "id": 0,
  "success": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}