Skip to main content
PUT

Path Parameters

id
integer<int64>
required

Body

application/json

Replaces the relationship's enabled-questionnaire list. Every active organization-level questionnaire not included in enabledQuestionnaireIds is marked disabled for the relationship, overriding the organization-level default.

enabledQuestionnaireIds
string<uuid>[]
required

Ids of questionnaires to enable for this relationship. Each id must reference an active organization-level questionnaire returned by GET /questionnaires or GET /relationships/{id}/questionnaires; unknown ids return 404. Pass an empty set to disable all questionnaires for the relationship.

Response

200 - application/json

OK

id
string<uuid>
name
string
enabled
boolean
default:false

True if this questionnaire will be answered when an assessment is started for this relationship. Reflects relationship-level overrides, falling back to the organization-level enabled flag when no override exists.

aiOnly
boolean
default:false

If true, the questionnaire is answered by AI by default and is not sent to the vendor for manual response when assessing. It can still be explicitly selected for manual response by passing its id in the questionnaires field on the Start Assessment endpoint.

createdDate
string<date-time>