---
title: "Update Question Logic"
method: PUT
path: "/api/v1/question-logic/{logic_id}"
tags: ["Question Logic"]
---

# Update Question Logic

`PUT /api/v1/question-logic/{logic_id}`

## Path parameters

- `logic_id` string, required

## Request body

- UpdateQuestionLogicReqV1
  - `operation` '==' | '<=' | '<' | '>' | '>=' | 'COUNT_LT' | 'INCLUDES' | 'ALWAYS' | 'INCLUDE_RESPONSE_IN_NEXT_QUESTION' | 'SMART_CONDITION', nullable
  - `comparison_value` string, nullable
  - `comparison_value_type` 'string' | 'int' | 'smart_condition', nullable
  - `next_question_id` string, nullable
  - `next_question_group_id` string, nullable
  - `redirect_url` string, nullable
  - `end_interview` boolean, nullable
  - `action_type` 'end_interview' | 'redirect_url' | 'next_question_id' | 'screen_out' | 'move_to_question_group', nullable
  - `language` string, nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getversive/apis/versive-public-api.md) · [All operations](https://skmtc.dev/getversive/apis/versive-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getversive/versive-public-api/revisions/00e66dd838cc/schema)
