---
title: "GET /accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"
method: GET
path: "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"
---

# GET /accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions

`GET /accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions`

Provides the read and write permissions for an analysis.

## Path parameters

- `AwsAccountId` string, required
- `AnalysisId` string, required

## Response `200`

Success

- DescribeAnalysisPermissionsResponse
  - `AnalysisId` string — The ID of the analysis whose permissions you're describing.
  - `AnalysisArn` string — The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
  - `Permissions` ResourcePermission[] — A structure that describes the principals and the resource-level permissions on an analysis.
    - `Principal` string, required — <p>The Amazon Resource Name (ARN) of the principal. This can be one of the following:</p> <ul> <li> <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p> </li> <li> <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p> </li> <li> <p>The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.) </p> </li> </ul>
    - `Actions` String[], required — The IAM action to grant or revoke permissions on.
  - `Status` integer — The HTTP status of the request.
  - `RequestId` string — The Amazon Web Services request ID for this operation.

## Other responses

- `480` — InvalidParameterValueException
- `481` — ResourceNotFoundException
- `482` — ThrottlingException
- `483` — UnsupportedUserEditionException
- `484` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/quicksight.md) · [All operations](https://skmtc.net/aws/apis/quicksight/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/quicksight/versions/2f2bbd7e70ca/schema)
