PUT
/
api
/
v2
/
attack-paths
/
{attack_path_id}
/
acceptance
{
  "data": {
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": {
      "time": "2023-11-07T05:31:56Z",
      "valid": true
    },
    "Principal": "<string>",
    "PrincipalKind": "<string>",
    "Finding": "<string>",
    "DomainSID": "<string>",
    "Props": {},
    "accepted_until": "2023-11-07T05:31:56Z",
    "ImpactPercentage": 123,
    "ImpactCount": 123,
    "Severity": "critical"
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
integer
default:
0

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Required range: x > 0

Path Parameters

attack_path_id
integer
required

Attack Path ID

Body

application/json
The request body for updating risk acceptance
risk_type
string
accept_until
string
accepted
boolean

Response

200
application/json
OK
data
object