Update a notice
PATCH
/v1/incidents/{id}/notices/{noticeId}
const url = 'https://api.varman.io/v1/incidents/example/notices/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"audience":"authority","recipient":{},"content":"example","sentAt":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/incidents/example/notices/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "audience": "authority", "recipient": {}, "content": "example", "sentAt": {} }'Edit a stakeholder notice or mark it sent. Marking an authority or data subject notice as sent stops the breach notification clock.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
noticeId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
audience
string
recipient
object
content
string
sentAt