---
title: "GET /tables/{tableBucketARN}/{namespace}/{name}/policy"
method: GET
path: "/tables/{tableBucketARN}/{namespace}/{name}/policy"
---

# GET /tables/{tableBucketARN}/{namespace}/{name}/policy

`GET /tables/{tableBucketARN}/{namespace}/{name}/policy`

Gets details about a table policy. For more information, see [Viewing a table policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-get) in the _Amazon Simple Storage Service User Guide_.

Permissions

You must have the `s3tables:GetTablePolicy` permission to use this operation.

## Path parameters

- `tableBucketARN` string, required
- `namespace` string, required
- `name` string, required

## Response `200`

Success

- GetTablePolicyResponse
  - `resourcePolicy` string, required — The <code>JSON</code> that defines the policy.

## Other responses

- `480` — InternalServerErrorException
- `481` — ForbiddenException
- `482` — NotFoundException
- `483` — TooManyRequestsException
- `484` — ConflictException
- `485` — BadRequestException

---

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