Skip to main content
PATCH
Change the AI tools settings of the company
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Body

application/json
defaultPolicy
enum<string>

The policy a tool gets the first time a device reports it; the tools already seen keep theirs

Available options:
not_reviewed,
approved,
blocked
ignoredSeverities
enum<string>[]

The severities whose findings the company ignores, e.g. ["low"]

Available options:
critical,
high,
medium,
low
ignoredRules
string[]

The rule codes whose findings the company ignores whatever their severity, e.g. ["unpinned_dependency"]

Maximum array length: 200
Required string length: 1 - 100
excludeUnassignedDevices
boolean

true: a device assigned to no employee raises no finding (its tools stay listed)

excludeInStockDevices
boolean

true: a device in stock raises no finding (its tools stay listed)

Response

default - application/json
defaultPolicy
enum<string>
required

The policy a tool gets the first time a device reports it; the tools already seen keep theirs

Available options:
not_reviewed,
approved,
blocked
ignoredSeverities
enum<string>[]
required

The severities whose findings the company ignores, e.g. ["low"]

Available options:
critical,
high,
medium,
low
ignoredRules
string[]
required

The rule codes whose findings the company ignores whatever their severity, e.g. ["unpinned_dependency"]

Maximum array length: 200
Required string length: 1 - 100
excludeUnassignedDevices
boolean
required

true: a device assigned to no employee raises no finding (its tools stay listed)

excludeInStockDevices
boolean
required

true: a device in stock raises no finding (its tools stay listed)

rules
object[]
required

Every rule Primo rates, worst severity first