# Update a form question **PATCH /forms/{formId}/questions/{id}** Update a form question by its ID ## Servers - https://api.staging.pexipengage.com/enterprises/acme: https://api.staging.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters ### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain - **Accept-Language** (string) Returns the requested resources translated according to the passed languages (see [translatable resources](../topic/topic-languages-translations\#topic-translatable-resources)) ### Path parameters - **formId** (string) - **id** (string) ### Body: application/json (object) - **defaultValue** (string | null) - **externalId** (string | null) - **targetProperty** (string | null) - **required** (boolean | null) - **hidden** (boolean | null) - **inputType** (string) - **validator** (object | null) - **translations** (object) - **order** (integer | null) - **answerOptions** (array[object]) Should be used in combination with `inputType: SELECT` or `inputType: MULTI_SELECT` - **fetchConfigurationId** (string | null) ## Responses ### 200 Successful operation #### Body: application/json (object) - **data** (object) ### 404 Resource not found #### Body: application/json (object) - **errors** (array[object]) ### 422 Business validation failed * `QUESTION_FETCH_TYPE_WITHOUT_FETCH_CONFIGURATION` * `QUESTION_NON_FETCH_TYPE_WITH_FETCH_CONFIGURATION` * `QUESTION_NON_SELECTION_TYPE_WITH_ANSWER_OPTIONS` * `QUESTION_SELECTION_TYPE_WITHOUT_ANSWER_OPTIONS` See [Error codes](#topic-error-codes) #### Body: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)