TosError
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
حدث خطأ في بنود الخدمة (ToS). تعرض طرق واجهة برمجة التطبيقات رمز حالة HTTP 403 Forbidden
إذا لم يقبل المستخدم (الممثَّل من خلال بيانات اعتماد OAuth) أحدث إصدار من بنود خدمة "إعداد الأجهزة الجوّالة للمؤسسات دفعةً واحدة".
يمكن لمستخدمي واجهة برمجة التطبيقات قبول بنود الخدمة الجديدة أو المُعدَّلة عن طريق تسجيل الدخول إلى بوابة "إعداد الأجهزة الجوّالة للمؤسسات دفعةً واحدة". تعرض البوابة لوحة قبول بنود الخدمة للمستخدمين عند تسجيل الدخول.
تمثيل JSON |
{
"latestTosAccepted": boolean
} |
الحقول |
latestTosAccepted |
boolean
ما إذا كان المستخدم قد وافق على أحدث إصدار من "بنود الخدمة" القيمة هي false عند تضمينها في خطأ.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]