Skip to content

update vuln

PATCH
/v1/vulns/{id}
curl --request PATCH \
--url http://api.disclosebot.localdev:3000/v1/vulns/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "data": { "type": "vuln", "attributes": { "title": "example", "description": "example" }, "relationships": { "brief": { "data": { "type": "brief", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } } } } }'
id
required
string

Id

Media type application/json
object
data
required
object
type
required
string
Allowed values: vuln
attributes
required
object
title
required
string
description
required
string
relationships
required
object
brief
required
object
data
required
object
type
required
string
Allowed values: brief
id
required
string format: uuid

Successful