---
title: "POST /v1alpha1/policies:test"
method: POST
path: "/v1alpha1/policies:test"
tags: ["policies"]
---

# POST /v1alpha1/policies:test

`POST /v1alpha1/policies:test`

Returns permissions that a caller has on the specified resource.

## Request body

- SasPortalTestPermissionsRequest — Request message for `TestPermissions` method.
  - `resource` string — Required. The resource for which the permissions are being requested.
  - `permissions` string[] — The set of permissions to check for the `resource`.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/prod-tt-sasportal.md) · [All operations](https://skmtc.net/google/apis/prod-tt-sasportal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/prod-tt-sasportal/revisions/1a009d78db94/schema)
