Verifications
Update a verification period
Changed onReplaces the period in full; omitted optional fields are cleared rather than left alone. Changing the scope changes who owes a verification: widening it adds PENDING entries, and narrowing it removes entries along with any answer already recorded for them.
put/api/v1/verification-periods/{periodCid}
Request
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/verification-periods/{periodCid}
- AuthHTTP bearer
Path parameters
periodCidstring required
The CID of the verification period
Request body
Example request
{
"name": "Q3 Ownership Review",
"requiredRoles": [
"OWNER"
],
"scope": {
"cqlQuery": "tag != null",
"types": [
"service"
]
}
}Response
The updated verification period
Example response
{
"cid": "vp0a1b2c3d4e5f6789",
"counts": {
"pending": 12,
"verifiedCorrect": 40,
"verifiedIncorrect": 3
},
"isActive": true,
"name": "Q3 Ownership Review",
"requiredRoles": [
"OWNER"
],
"scope": {
"cqlQuery": "tag != null",
"types": [
"service"
]
}
}Changes
- info
endpoint added
- info