---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions

`POST /v1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions`

## Request

- Base URL: `https://datacatalog.googleapis.com`
- URL: `https://datacatalog.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/taxonomies/{taxonomiesId}:testIamPermissions`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Returns your permissions on a specified policy tag or taxonomy.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `taxonomiesId` string, required

## Request body

- TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
  - `permissions` string[]: The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).

## Response `200`

Successful response

- TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
  - `permissions` string[]: A subset of `TestPermissionsRequest.permissions` that the caller is allowed.

---

[API](https://skmtc.dev/google/apis/datacatalog.md) - [All operations](https://skmtc.dev/google/apis/datacatalog/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/datacatalog/revisions/85055cd25913?raw)
