Method: customers.policies.networks.removeCertificate
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک گواهی موجود توسط راهنما را حذف کنید.
درخواست HTTP
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:removeCertificate
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
customer | string مورد نیاز. مشتری که گواهی او حذف می شود. |
درخواست بدن
بدنه درخواست حاوی داده هایی با ساختار زیر است:
نمایندگی JSON |
---|
{
"targetResource": string,
"networkId": string
} |
فیلدها |
---|
targetResource | string مورد نیاز. منبع هدفی که این گواهی در آن حذف خواهد شد. منابع زیر پشتیبانی می شوند: * واحد سازمانی ("orgunits/{orgunit_id}") |
networkId | string مورد نیاز. راهنمای گواهی برای حذف. |
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/chrome.management.policy
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRemove an existing certificate by guid using the provided HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the customer and target resource within the request path and body.\u003c/p\u003e\n"],["\u003cp\u003eInclude the network ID (certificate guid) in the request body for removal.\u003c/p\u003e\n"],["\u003cp\u003eEmpty response body indicates successful certificate removal.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.policy\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policies.networks.removeCertificate\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- [Try it!](#try-it)\n\nremove an existing certificate by guid.\n\n### HTTP request\n\n`POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:removeCertificate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|--------------------------------------------------------------------|\n| `customer` | `string` Required. The customer whose certificate will be removed. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------|\n| ``` { \"targetResource\": string, \"networkId\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetResource` | `string` Required. The target resource on which this certificate will be removed. The following resources are supported: \\* Organizational Unit (\"orgunits/{orgunit_id}\") |\n| `networkId` | `string` Required. The guid of the certificate to remove. |\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`"]]