PUT/v2/projects/{projectId}/qa-settings/languages/{languageId}/enabled

Update QA checks enabled state for a language

Updates whether QA checks are enabled for a specific language in a project. Set enabled to true to enable checks for that language or false to disable them; the field is required.

2 parameters · 1 body field
languageIdintegerrequired
The integer identifier of the language whose QA checks to enable or disable.
projectIdintegerrequired
The integer identifier of the project containing the language.

Language-level QA check enablement setting.

enabledbooleanrequired
Whether QA checks are enabled for the language.

5 status codes
200Returns confirmation that the language's QA check enablement setting was updated.
400Returned when the request is invalid, including when the required `enabled` field is missing or invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have permission to update the language settings.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the project or language cannot be found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 is returned when the request is invalid, a 401 when authentication is missing or invalid, a 403 when the authenticated user lacks permission, and a 404 when the project or language cannot be found. The languageId and projectId path parameters must identify the language to update. The request body must include the enabled boolean.