---
title: "GET /v1/{+resource}:getIamPolicy"
method: GET
path: "/v1/{+resource}:getIamPolicy"
tags: ["projects"]
---

# GET /v1/{+resource}:getIamPolicy

`GET /v1/{+resource}:getIamPolicy`

Gets the IAM policy for a given resource.

## Path parameters

- `resource` string, required

## Query parameters

- `options.requestedPolicyVersion` integer

## Response `200`

Successful response

---

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