---
title: "POST /projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions"
method: POST
path: "/projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions"
tags: ["regionInstanceGroups"]
---

# POST /projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions

`POST /projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions`

Returns permissions that a caller has on the specified resource.

## Path parameters

- `project` string, required
- `region` string, required
- `resource` string, required

## Request body

- TestPermissionsRequest
  - `permissions` string[] — The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.

## Response `200`

Successful response

---

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