Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 40.4 KB

set-users-permissions.api.mdx

File metadata and controls

71 lines (54 loc) · 40.4 KB
id title description sidebar_label hide_title hide_table_of_contents api sidebar_class_name info_path custom_edit_url
set-users-permissions
Set user's project permission
Set user's granular (scope-based) direct project permission
Set user's project permission
true
true
eJztXN1v3DYS/1dUvbQFNnGaBvewb2nR9tIW11ySXu9QGCxXmtUypkiFH2tvDP/vhxmSEqWVnfaaA/rAJ9vkcDgczhdHP/i2dryz9fbX+nl75KqBthrA9MJaoZWtLzd1C7YxYnBCq3pbvwZXeQvmU1t1hisvuak+s40e4NGOW2g/r1phoHHVYPRb+jlyqze1HsBw5PSirbe1BfezBWNfZhtu6oEb3oMDg1Ld1or3UG9r3PNFW29qgVIM3B3qTW3gnRcG2nrrjIdNbZsD9Lze3tbuNOAqoRx0YOpNvdem5y4M/e1ZfXe3GVmT9DaxfufBnOrlsb8zXDloq5F22nrPpV3bmxvDkZFw0Nts3DojVIcS1HDD+0ECat8Zrqwk3djHRwHX9WY+Bq1w9WUmtuSq87w7l/wB0bwS7zy8CBIFnX1A2gc0mMmSJIUf/0JCoRb/SvJYxx18feCq+0upKTrqB52LS6mvv+kHd/oXlx7uN/wHtr1EtnbQygIJ+vTJE/wx97WffqjvNvWztamveFu9gncerKs3daOVA+WQjA+DFA25ysVbi7S3mWCjn93WjW5RxpP2rBUts7oHdxCqY9dGqy6FHwqI41y9qcPs5d2m1gp+2lNkmhT0a2B7Od6I3qFKkZvBkOdEOG7YfBkJNjUo3yMXr7h3B1AOjwJ4IXwQjDcNWMv22uxE24KKw1dwYko7ttdehbs7cilaFueykXjD2cxihMHNQCfZ1DvessZAi0JwifbZ7zkDxXcS8l20GxgdJxCgIBNRwxWNGDjqK2D6WrFhFuNb7jhrtDF+cImtcHR9xJW1GmxgeiOsY9pkIqbAxxzvwrzNR9Gs14YzVY1piEZJNBfkMNAJ68JkEIDMnuaS0nJOBqz2ppmzpyQxGwk6jiK5gzAtG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
api//tolgee-api

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; import ParamsDetails from "@theme/ParamsDetails"; import RequestSchema from "@theme/RequestSchema"; import StatusCodes from "@theme/StatusCodes"; import OperationTabs from "@theme/OperationTabs"; import TabItem from "@theme/TabItem"; import Heading from "@theme/Heading";

<Heading as={"h1"} className={"openapi__heading"} children={"Set user's project permission"}

<MethodEndpoint method={"put"} path={"/v2/projects/{projectId}/users/{userId}/set-permissions"} context={"endpoint"}

Set user's granular (scope-based) direct project permission

<Heading id={"request"} as={"h2"} className={"openapi-tabs__heading"} children={"Request"}

<ParamsDetails parameters={[{"name":"userId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"scopes","in":"query","description":"Granted scopes","required":false,"schema":{"type":"array","items":{"type":"string"}},"example":["translations.view","translations.edit"]},{"name":"languages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"translateLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"viewLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"stateChangeLanguages","in":"query","required":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"integer","format":"int64"}}},{"name":"projectId","in":"path","required":true,"allowEmptyValue":false,"schema":{"type":"integer","format":"int64"}}]}

<RequestSchema title={"Body"} body={undefined}

<StatusCodes id={undefined} label={undefined} responses={{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"example":{"code":"you_did_something_wrong","params":["something","wrong"]},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"example":{"code":"unauthenticated"},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"example":{"code":"operation_not_permitted","params":["translations.edit"]},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"example":{"code":"resource_not_found","params":null},"oneOf":[{"required":["code"],"type":"object","properties":{"code":{"type":"string","enum":["unauthenticated","api_access_forbidden","api_key_not_found","invalid_api_key","invalid_project_api_key","project_api_key_expired","bad_credentials","mfa_enabled","invalid_otp_code","mfa_not_enabled","can_not_revoke_own_permissions","data_corrupted","invitation_code_does_not_exist_or_expired","language_tag_exists","language_name_exists","language_not_found","operation_not_permitted","registrations_not_allowed","project_not_found","resource_not_found","scope_not_found","key_exists","third_party_auth_error_message","third_party_auth_no_email","third_party_auth_non_matching_email","third_party_auth_no_sub","third_party_auth_unknown_error","email_already_verified","third_party_unauthorized","third_party_google_workspace_mismatch","third_party_switch_initiated","username_already_exists","username_or_password_invalid","user_already_has_permissions","user_already_has_role","user_not_found","file_not_image","file_too_big","invalid_timestamp","email_not_verified","missing_callback_url","invalid_jwt_token","expired_jwt_token","general_jwt_error","cannot_find_suitable_address_part","slug_not_unique","user_is_not_member_of_organization","organization_has_no_other_owner","user_has_no_project_access","user_is_organization_owner","cannot_set_your_own_permissions","user_is_organization_member","property_not_mutable","import_language_not_from_project","existing_language_not_selected","conflict_is_not_resolved","language_already_selected","cannot_parse_file","could_not_resolve_property","cannot_add_more_then_100_languages","no_languages_provided","language_with_base_language_tag_not_found","language_not_from_project","namespace_not_from_project","cannot_delete_base_language","key_not_from_project","max_screenshots_exceeded","translation_not_from_project","can_edit_only_own_comment","request_parse_error","filter_by_value_state_not_valid","import_has_expired","tag_not_from_project","translation_text_too_long","invalid_recaptcha_token","cannot_leave_owning_project","cannot_leave_project_with_organization_role","dont_have_direct_permissions","tag_too_log","too_many_uploaded_images","one_or_more_images_not_found","screenshot_not_of_key","service_not_found","too_many_requests","translation_not_found","out_of_credits","key_not_found","organization_not_found","cannot_find_base_language","base_language_not_found","no_exported_result","cannot_set_your_own_role","only_translate_review_or_view_permission_accepts_view_languages","oauth2_token_url_not_set","oauth2_user_url_not_set","email_already_invited_or_member","price_not_found","invoice_not_from_organization","invoice_not_found","plan_not_found","plan_not_available_any_more","no_auto_translation_method","cannot_translate_base_language","pat_not_found","invalid_pat","pat_expired","operation_unavailable_for_account_type","validation_email_is_not_valid","current_password_required","cannot_create_organization","wrong_current_password","wrong_param_type","expired_super_jwt_token","cannot_delete_your_own_account","cannot_sort_by_this_column","namespace_not_found","namespace_exists","invalid_authentication_method","unknown_sort_property","only_review_permission_accepts_state_change_languages","only_translate_or_review_permission_accepts_translate_languages","cannot_set_language_permissions_for_admin_scope","cannot_set_view_languages_without_translations_view_scope","cannot_set_translate_languages_without_translations_edit_scope","cannot_set_state_change_languages_without_translations_state_edit_scope","language_not_permitted","scopes_has_to_be_set","set_exactly_one_of_scopes_or_type","translation_exists","import_keys_error","provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids","multiple_projects_not_supported","plan_translation_limit_exceeded","feature_not_enabled","license_key_not_found","cannot_set_view_languages_without_for_level_based_permissions","cannot_set_different_translate_and_state_change_languages_for_level_based_permissions","cannot_disable_your_own_account","subscription_not_found","invoice_does_not_have_usage","customer_not_found","subscription_not_active","organization_already_subscribed","organization_not_subscribed","license_key_used_by_another_instance","translation_spending_limit_exceeded","credit_spending_limit_exceeded","seats_spending_limit_exceeded","this_instance_is_already_licensed","big_meta_not_from_project","mt_service_not_enabled","project_not_selected","organization_not_selected","plan_has_subscribers","translation_failed","batch_job_not_found","key_exists_in_namespace","tag_is_blank","execution_failed_on_management_error","translation_api_rate_limit","cannot_finalize_activity","formality_not_supported_by_service","language_not_supported_by_service","rate_limited","pat_access_not_allowed","pak_access_not_allowed","cannot_modify_disabled_translation","azure_config_required","s3_config_required","content_storage_config_required","content_storage_test_failed","content_storage_config_invalid","invalid_connection_string","cannot_create_azure_storage_client","s3_access_key_required","azure_connection_string_required","s3_secret_key_required","cannot_store_file_to_content_storage","unexpected_error_while_publishing_to_content_storage","webhook_responded_with_non_200_status","unexpected_error_while_executing_webhook","content_storage_is_in_use","cannot_set_state_for_missing_translation","no_project_id_provided","license_key_not_provided","subscription_already_canceled","user_is_subscribed_to_paid_plan","cannot_create_free_plan_without_fixed_type","cannot_modify_plan_free_status","key_id_not_provided","free_self_hosted_seat_limit_exceeded","advanced_params_not_supported","plural_forms_not_found_for_language","nested_plurals_not_supported","message_is_not_plural","content_outside_plural_forms","invalid_plural_form","multiple_plurals_not_supported","custom_values_json_too_long","unsupported_po_message_format","plural_forms_data_loss","current_user_does_not_own_image","user_cannot_view_this_organization","user_is_not_owner_of_organization","pak_created_for_different_project","custom_slug_is_only_applicable_for_custom_storage","invalid_slug_format","batch_job_cancellation_timeout","import_failed","cannot_add_more_then_1000_languages","no_data_to_import","multiple_namespaces_mapped_to_single_file","multiple_mappings_for_same_file_language_name","multiple_mappings_for_null_file_language_name","too_many_mappings_for_file","missing_placeholder_in_template","tag_not_found","cannot_parse_encrypted_slack_login_data","slack_workspace_not_found","cannot_fetch_user_details_from_slack","slack_missing_scope","slack_not_connected_to_your_account","slack_invalid_command","slack_not_subscribed_yet","slack_connection_failed","tolgee_account_already_connected","slack_not_configured","slack_workspace_already_connected","slack_connection_error","email_verification_code_not_valid","cannot_subscribe_to_free_plan","plan_auto_assignment_only_for_free_plans","plan_auto_assignment_only_for_private_plans","task_not_found","task_not_finished","task_not_open","translation_agency_not_found","this_feature_is_not_implemented_in_oss","sso_token_exchange_failed","sso_user_info_retrieval_failed","sso_id_token_expired","sso_user_cannot_create_organization","sso_cant_verify_user","sso_auth_missing_domain","sso_domain_not_found_or_disabled","native_authentication_disabled","invitation_organization_mismatch","user_is_managed_by_organization","cannot_set_sso_provider_missing_fields","namespaces_cannot_be_disabled_when_namespace_exists","namespace_cannot_be_used_when_feature_is_disabled","sso_domain_not_allowed","sso_login_forced_for_this_account","date_has_to_be_in_the_future","custom_plan_and_plan_id_cannot_be_set_together","specify_plan_id_or_custom_plan","custom_plans_has_to_be_private","cannot_create_free_plan_with_prices","subscription_not_scheduled_for_cancellation","cannot_cancel_trial","cannot_update_without_modification","current_subscription_is_not_trialing","sorting_and_paging_is_not_supported_when_using_cursor"]},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseTyped"},{"required":["code"],"type":"object","properties":{"code":{"type":"string"},"params":{"type":"array","items":{"type":"object"}}},"title":"ErrorResponseBody"}]}}}}}}