Skip to main content
PATCH
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

domainId
string<uuid>
required

UUID of the domain. Use the id field of a domain from listDomains.

Body

application/json

At least one of context, tags, or business_unit must be provided. Tags and business_unit require the Enterprise plan.

context
string | null

New free-text background about the domain for the agent. Send null to clear it.

tags
string[]

Replaces the domain's tags. Requires the Enterprise plan.

business_unit
string | null

Sets or clears the business_unit. Requires the Enterprise plan.

Response

Domain updated.

id
string<uuid>
required
organization_id
string
required
domain
string
required
verified
boolean
required
created_at
string<date-time>
required
verification_method
enum<string> | null

How the domain was verified. trusted_access means a member with trusted access added it without ownership proof; those domains return to unverified if that member's trusted access is revoked.

Available options:
allowlist,
existing,
dns,
file,
meta_tag,
email,
trusted_access,
null
tags
string[]

Enterprise asset labels used for RBAC scoping.

business_unit
string | null

Enterprise asset label used for RBAC scoping.

last_scan_at
string<date-time> | null
last_scan_status
string | null

Status of the newest scan that targets this domain (pending, running, completed, failed, cancelled).

test_user_count
integer

The number of test users that apply to this domain. This includes users that are shared with the domain and users that apply to every domain in the organization.

login_check_status
string | null

Status of the newest login check across the domain's test users (pending, running, succeeded, failed). Null when no check has run.

open_issue_count
integer

The number of active findings (open, in_progress, snoozed) that are attributed to this asset. Dependency findings are not counted.

open_issues
object

The same active findings as open_issue_count, grouped by severity.