TosError
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
सेवा की शर्तों (सेवा की शर्तों) की गड़बड़ी. अगर उपयोगकर्ता (OAuth क्रेडेंशियल से पता चलता है) ने ज़ीरो-टच रजिस्ट्रेशन की सेवा की शर्तों के नए वर्शन को स्वीकार नहीं किया है, तो एपीआई के तरीकों से एचटीटीपी 403 Forbidden
स्टेटस कोड दिखता है.
एपीआई इस्तेमाल करने वाले लोग, ज़ीरो-टच रजिस्ट्रेशन की सुविधा वाले पोर्टल में साइन इन करके, सेवा की नई या अपडेट की गई सेवा की शर्तों को स्वीकार कर सकते हैं. जब उपयोगकर्ता साइन इन करते हैं, तो यह पोर्टल उपयोगकर्ताओं को सेवा की शर्तों स्वीकार करने वाला पैनल दिखाता है.
JSON के काेड में दिखाना |
{
"latestTosAccepted": boolean
} |
फ़ील्ड |
latestTosAccepted |
boolean
उपयोगकर्ता ने सेवा की शर्तों के नए वर्शन को स्वीकार किया है या नहीं. किसी गड़बड़ी में शामिल करने पर, यह वैल्यू false हो जाती है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAPI methods return a \u003ccode\u003e403 Forbidden\u003c/code\u003e error if the user hasn't accepted the latest Terms of Service (ToS).\u003c/p\u003e\n"],["\u003cp\u003eUsers can accept the new or updated ToS by signing into the zero-touch enrollment portal.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elatestTosAccepted\u003c/code\u003e field in the JSON representation indicates whether the user has agreed to the current ToS, with a \u003ccode\u003efalse\u003c/code\u003e value in case of an error.\u003c/p\u003e\n"]]],["The API returns a `403 Forbidden` error when a user hasn't accepted the latest Terms of Service (ToS). Users can accept the ToS via the zero-touch enrollment portal. The JSON representation for ToS status includes a boolean field, `latestTosAccepted`. This field is `false` in error responses, indicating that the user needs to accept the latest ToS. Access the zero-touch enrollment portal to accept the ToS.\n"],null,["# TosError\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA Terms of Service (ToS) error. API methods return an HTTP `403 Forbidden` status code if the user (represented by the OAuth credentials) hasn't accepted the latest version of the zero-touch enrollment ToS.\n\nAPI users can accept new or updated ToS by signing in to the zero-touch enrollment [portal](https://enterprise.google.com/android/zero-touch/customers). The portal presents aToS acceptance panel to users when they sign in.\n\n| JSON representation ||\n|------------------------------------------|---|\n| ``` { \"latestTosAccepted\": boolean } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------|\n| `latestTosAccepted` | `boolean` Whether the user has accepted the latest version of the ToS. The value is `false` when included in an error. |"]]