Skip to navigation

Update a requirement

Changes a requirement. Send only the fields to change. criteria replaces the whole criteria object, so send it complete (read it first with Get a requirement). documentCategory and reportSource can’t be changed; create a new requirement instead.

A document license or background_check requirement saved before those became stored only can be renamed, reordered, paused with isActive: false or deleted; any other change is a 400.

criteria is validated like on create, with one allowance: a field the saved requirement already holds is accepted unchanged, so requirements written before strict validation can still be edited. Defaults are not filled on an edit.

Pause a requirement with isActive: false (subcontractors stop being judged on it; its history is kept) and resume it with isActive: true.

When anything that affects judging changes (criteria, enforcement, name matching, pausing, …), every enrolled subcontractor is re-checked: meta.runsTriggered says how many checks started. Title, description, AI context and sort order changes don’t re-check.

Turning requireNameMatch on for an insurance requirement re-checks the certificates already on file for every subcontractor enrolled on the profile: a live coverage whose certificate insured name doesn’t match the subcontractor is held for review (needs_review with a name_mismatch flag), exactly as if it had just been uploaded. The stored insured name is compared; nothing is re-read. Turning it off releases coverage held only because of the insured name. Each change sends coverage.updated, and the subcontractor’s other profiles at your organization re-check too. meta.nameMatch counts what changed.

Requires scope requirements:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

requirementIdstringRequiredformat: "uuid"

Request

This endpoint expects an object.
titlestringOptional<=255 characters
descriptionstringOptional<=2000 characters
aiContextstringOptional<=5000 characters
policyTypeenum or nullOptional
An insurance requirement's policy type can be changed but not cleared.
scopeLevelenumOptional
Allowed values:
reportDimensionstring or nullOptional<=64 characters
enforcementLevelenumOptional

track_only (Track only, don’t require) is stored and returned as preferred. See EnforcementLevel.

Allowed values:
conditionKeystring or nullOptional
requireNameMatchbooleanOptional

Turning it on re-checks the certificates already on file; turning it off releases holds that exist only because of it. See Update requirement.

requireGcNameMatchbooleanOptional
trackExpirationbooleanOptional
collectFullPolicybooleanOptional
collectSignaturebooleanOptional
verificationCadenceenumOptional
Allowed values:
verificationMethodenum or nullOptional
Allowed values:
criteriaobjectOptional
Replaces the whole criteria object.
isActivebooleanOptional

false pauses the requirement; true resumes it.

sortOrderintegerOptional>=0

Response

The updated requirement
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error