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

# POST /v1/{+resource}:fetchAcl

`POST /v1/{+resource}:fetchAcl`

Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.

## Path parameters

- `resource` string, required

## Request body

- GoogleCloudContentwarehouseV1FetchAclRequest — Request message for DocumentService.FetchAcl
  - `projectOwner` boolean — For Get Project ACL only. Authorization check for end user will be ignored when project_owner=true.
  - `requestMetadata` GoogleCloudContentwarehouseV1RequestMetadata — Meta information is used to improve the performance of the service.
    - `userInfo` GoogleCloudContentwarehouseV1UserInfo — The user information.
      - `id` string — A unique user identification string, as determined by the client. The maximum number of allowed characters is 255. Allowed characters include numbers 0 to 9, uppercase and lowercase letters, and restricted special symbols (:, @, +, -, _, ~) The format is "user:xxxx@example.com";
      - `groupIds` string[] — The unique group identifications which the user is belong to. The format is "group:yyyy@example.com";

## Response `200`

Successful response

---

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