---
title: "POST /get-resource-policy"
method: POST
path: "/get-resource-policy"
---

# POST /get-resource-policy

`POST /get-resource-policy`

Retrieve the account's consolidated SignIn resource-based policy

## Response `200`

Success

- GetResourcePolicyOutput — Output for GetResourcePolicy operation
  - `signinResourceBasedPolicy` object, required — The account's SignIn resource-based policy
    - `version` string — Policy version
    - `statement` PolicyStatement[] — Policy statements
      - `effect` string — Effect of the policy statement (Allow/Deny)
      - `principal` object — Principal the statement applies to
      - `action` String[] — Actions the statement controls
      - `resource` string — Resource the statement applies to
      - `condition` object — Condition block for the statement

## Other responses

- `480` — TooManyRequestsError
- `481` — ResourceNotFoundException
- `482` — InternalServerException
- `483` — AccessDeniedException

---

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