---
title: "POST /v1/{+name}:restrictAllowedResources"
method: POST
path: "/v1/{+name}:restrictAllowedResources"
tags: ["organizations"]
---

# POST /v1/{+name}:restrictAllowedResources

`POST /v1/{+name}:restrictAllowedResources`

Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest — Request for restricting list of available resources in Workload environment.
  - `restrictionType` 'RESTRICTION_TYPE_UNSPECIFIED' | 'ALLOW_ALL_GCP_RESOURCES' | 'ALLOW_COMPLIANT_RESOURCES' | 'APPEND_COMPLIANT_RESOURCES' — Required. The type of restriction for using gcp products in the Workload environment.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/assuredworkloads.md) · [All operations](https://skmtc.dev/google/apis/assuredworkloads/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/assuredworkloads/revisions/bff5f680b449/schema)
