Skip to main content
POST
Create a policy override

Authorizations

Authorization
string
header
required

Project API access key.

Aptranet-Secret
string
header
required

Current secret for the access key.

Path Parameters

domain_id
integer
required

Body

application/json
name
string
required
Required string length: 1 - 100
target_type
enum<string>
required
Available options:
detector,
rule
target_ids
integer[]
required
Minimum array length: 1
enabled
boolean
required
description
string | null
Maximum string length: 1000
conditions
PolicyOverrideCondition · object[]
Maximum array length: 5
request_id
string | null

Response

Successful response.