PUT/v2/projects/{projectId}/qa-settings

Update project QA check settings

Updates the QA check settings for a project. Supply settings as a map of QA check names to WARNING or OFF to configure how each check is applied.

1 parameter · 1 body field
projectIdintegerrequired
The integer identifier of the project whose QA check settings to update.

QA check settings to apply to the project.

settingsobjectrequired
A map of QA check names to setting values. Each value must be WARNING or OFF.

5 status codes
200Returns an object containing the updated `settings` map.
settingsobjectrequired
400Returned when `settings` is missing or a setting value is not `WARNING` or `OFF`.
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 the request is not authenticated.
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 project's QA 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 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 settings is missing or a setting value is invalid; each value must be WARNING or OFF. A 401 is returned when the request is unauthenticated, and a 403 is returned when the authenticated user cannot update the project's QA settings. A 404 is returned when the project cannot be found; the projectId path parameter must identify the project.