Method: customers.policies.groups.batchDelete
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
특정 그룹에 적용되는 여러 정책 값을 삭제합니다. 모든 타겟은 타겟 형식이 동일해야 합니다. 즉, 동일한 타겟 리소스를 가리켜야 하고 additionalTargetKeyNames
에 지정된 동일한 키를 보유해야 하지만 키의 값은 다를 수 있습니다. 실패 시 요청은 google.rpc.Status의 일부로 오류 세부정보를 반환합니다.
HTTP 요청
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/groups:batchDelete
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
customer |
string
Google Workspace 계정의 ID 또는 문자 그대로의 'my_customer'입니다. '요청'과 관련된 고객 ID입니다.
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
필드 |
requests[] |
object (DeleteGroupPolicyRequest )
requests 에서 정의한 대로 삭제될 정책 목록입니다. 목록의 모든 요청은 다음 제한사항을 따라야 합니다.
- 목록의 모든 스키마는 루트 네임스페이스가 동일해야 합니다.
- 모든 `policyTargetKey.targetResource` 값은 그룹을 가리켜야 합니다.
리소스도 제공합니다
- 모든 `policyTargetKey` 값은
`additionalTargetKeys`로 설정합니다.
- 두 개의 수정 요청은 동일한 `policySchema` +
` policyTargetKey` 쌍입니다.
|
응답 본문
성공한 경우 응답 본문은 비어 있습니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/chrome.management.policy
DeleteGroupPolicyRequest
특정 그룹 대상의 정책 값을 삭제하기 위한 요청 매개변수입니다.
JSON 표현 |
{
"policyTargetKey": {
object (PolicyTargetKey )
},
"policySchema": string
} |
필드 |
policyTargetKey |
object (PolicyTargetKey )
필수 항목입니다. 정책을 수정할 대상의 키입니다. 대상 리소스가 그룹을 가리켜야 합니다.
|
policySchema |
string
상속되는 정책 스키마의 정규화된 이름입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis endpoint allows you to delete multiple policy values applied to a specific Google Workspace group.\u003c/p\u003e\n"],["\u003cp\u003eAll policy targets in the request must have the same format, targeting the same resource and keys.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a list of policies to be deleted, adhering to specific restrictions.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.policy\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policies.groups.batchDelete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [DeleteGroupPolicyRequest](#DeleteGroupPolicyRequest)\n - [JSON representation](#DeleteGroupPolicyRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nDelete multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.\n\n### HTTP request\n\n`POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/groups:batchDelete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the request. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/chrome/policy/reference/rest/v1/customers.policies.groups/batchDelete#DeleteGroupPolicyRequest) } ] } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[DeleteGroupPolicyRequest](/chrome/policy/reference/rest/v1/customers.policies.groups/batchDelete#DeleteGroupPolicyRequest)`)` List of policies that will be deleted as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All \\`policyTargetKey.targetResource\\` values must point to a group resource. 3. All \\`policyTargetKey\\` values must have the same \\`appId\\` key name in the \\`additionalTargetKeys\\`. 4. No two modification requests can reference the same \\`policySchema\\` + \\` policyTargetKey\\` pair. |\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.policy`\n\nDeleteGroupPolicyRequest\n------------------------\n\nRequest parameters for deleting the policy value of a specific group target.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"policyTargetKey\": { object (/chrome/policy/reference/rest/v1/PolicyTargetKey) }, \"policySchema\": string } ``` |\n\n| Fields ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `policyTargetKey` | `object (`[PolicyTargetKey](/chrome/policy/reference/rest/v1/PolicyTargetKey)`)` Required. The key of the target for which we want to modify a policy. The target resource must point to a group. |\n| `policySchema` | `string` The fully qualified name of the policy schema that is being inherited. |"]]