- Newest
- Most votes
- Most comments
Use the UpdateFolderPermissions operation to update the permissions of a folder. You can grant or revoke permissions in the same command. To use this operation, you need the ID of the folder whose permissions you want to view. The folder ID is part of the folder URL in QuickSight. You can also use the ListFolders operation to get the ID.
Refer the below example:
aws quicksight update-folder-permissions --aws-account-id AWSACCOUNTID --folder-id FOLDERID --grant-permissions Principal=arn:aws:quicksight:us-east-1:AWSACCOUNTID:user/default/USERNAME,Actions=quicksight:CreateFolder,quicksight:DescribeFolder,quicksight:UpdateFolder,quicksight:DeleteFolder,quicksight:CreateFolderMembership,quicksight:DeleteFolderMembership,quicksight:DescribeFolderPermissions,quicksight:UpdateFolderPermissions --revoke-permissions Principal=arn:aws:quicksight:us-east-1:AWSACCOUNTID:user/default/USERNAME,Actions=quicksight:CreateFolder,quicksight:DescribeFolder,quicksight:UpdateFolder,quicksight:DeleteFolder,quicksight:CreateFolderMembership,quicksight:DeleteFolderMembership,quicksight:DescribeFolderPermissions,quicksight:UpdateFolderPermissions
If your region has already been configured within the CLI, it doesn't need to be included as an argument.
You can also make this command using a CLI skeleton file with the following command. For more information about CLI skeleton files, see Using CLI skeleton files.
aws quicksight update-folder-permissions --cli-input-json file://updatefolderpermissions.json
If your region has already been configured with the CLI, it does not need to be included in an argument.
Refer to this link for understanding the same.
Link- https://aws.amazon.com/blogs/big-data/organize-and-share-your-content-with-folders-in-amazon-quicksight/ -- [1]
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago