Update the HIPAA Security Risk Assessment
curl --request PATCH \
--url https://api.trycomp.ai/v1/hipaa/risk-assessment \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"narrative": {
"purpose": "<string>",
"scope": "<string>",
"methodology": "<string>",
"roles": "<string>",
"reviewTriggers": "<string>"
},
"reviewFrequencyMonths": 12
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
narrative: {
purpose: '<string>',
scope: '<string>',
methodology: '<string>',
roles: '<string>',
reviewTriggers: '<string>'
},
reviewFrequencyMonths: 12
})
};
fetch('https://api.trycomp.ai/v1/hipaa/risk-assessment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/hipaa/risk-assessment"
payload = {
"narrative": {
"purpose": "<string>",
"scope": "<string>",
"methodology": "<string>",
"roles": "<string>",
"reviewTriggers": "<string>"
},
"reviewFrequencyMonths": 12
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)HIPAA Security Risk Assessment
Update the HIPAA Security Risk Assessment | Comp AI API
Edits the narrative sections (purpose, scope, methodology, roles, review triggers) or the review cadence. Omitted sections keep their text. Returns the.
PATCH
/
v1
/
hipaa
/
risk-assessment
Update the HIPAA Security Risk Assessment
curl --request PATCH \
--url https://api.trycomp.ai/v1/hipaa/risk-assessment \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"narrative": {
"purpose": "<string>",
"scope": "<string>",
"methodology": "<string>",
"roles": "<string>",
"reviewTriggers": "<string>"
},
"reviewFrequencyMonths": 12
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
narrative: {
purpose: '<string>',
scope: '<string>',
methodology: '<string>',
roles: '<string>',
reviewTriggers: '<string>'
},
reviewFrequencyMonths: 12
})
};
fetch('https://api.trycomp.ai/v1/hipaa/risk-assessment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/hipaa/risk-assessment"
payload = {
"narrative": {
"purpose": "<string>",
"scope": "<string>",
"methodology": "<string>",
"roles": "<string>",
"reviewTriggers": "<string>"
},
"reviewFrequencyMonths": 12
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Body
application/json
Response
200
Was this page helpful?

