Quicksight disable allow inviting new users by email using cmd/sdk

0

Hello! Is there anyway to disable the allow inviting new users by email via command line/SDK? A customer wants to make sure that any user on their account using QuickSight won't be able to invite new users by email.

질문됨 3년 전48259회 조회
2개 답변
1
수락된 답변

You have the option to disable the invite by email option while setting up the account. If customer already has the account up and running with this option enabled, they can create a support case to have the option disabled from back end. (This option is not exposed via API)

AWS
답변함 3년 전
profile pictureAWS
전문가
검토됨 10달 전
0

Yes, it is possible to disable the ability to invite new users by email in QuickSight using the AWS Command Line Interface (CLI) or the AWS SDK. To do this, you will need to use the UpdateAccountCustomization operation in the QuickSight API.

Here is an example of how you can use the AWS CLI to disable the ability to invite new users by email in QuickSight:

aws quicksight update-account-customization \
  --aws-account-id 123456789012 \
  --namespace default \
  --account-customization '{"enableInviteNewUsersByEmail":false}'

In the example above, you would need to replace '123456789012' with the actual AWS account ID for your QuickSight account, and 'default' with the namespace that you want to update. You can also specify additional settings in the account-customization parameter, such as the default email sender name and address.

Alternatively, you can use the AWS SDK to call the UpdateAccountCustomization operation in the QuickSight API directly, as shown in the following example:

# Import the AWS SDK
import boto3

Create a QuickSight client

quicksight = boto3.client('quicksight')

Update the account customization settings

response = quicksight.update_account_customization(
  AwsAccountId='123456789012',
  Namespace='default',
  AccountCustomization={
    'EnableInviteNewUsersByEmail': False
  }
)

I hope this helps! Let me know if you have any other questions.

profile picture
답변함 일 년 전
profile pictureAWS
전문가
검토됨 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠