client-api-questionnaire-rest-resource

Update which questionnaires are enabled for a relationship.

Replaces the relationship's enabled-questionnaire list with the provided ids. Any active organization questionnaire not included in enabledQuestionnaireIds is disabled for the relationship.

put/api/v1/relationships/{id}/questionnaires

Request

Path parameters

idinteger required

Request body

enabledQuestionnaireIdsstring[] 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

OK

idstring uuid
namestring
enabledboolean

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.

aiOnlyboolean

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.

createdDatestring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.