Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Path Parameters

assetId
string<uuid>
required

UUID of the discovered asset. Use the id field of an asset from listDiscoveredAssets.

Body

application/json
asset_type
enum<string>

The asset type of the new domain. The default is web_app.

Available options:
web_app,
api,
attack_surface

Response

The host already existed in the domain inventory.

asset
object
required
domain
object
required
created
boolean
required

False when the host already existed in the domain inventory.