TosError
A 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.
API users can accept new or updated ToS by signing in to the zero-touch enrollment portal. The portal presents aToS acceptance panel to users when they sign in.
JSON representation |
{
"latestTosAccepted": boolean
} |
Fields |
latestTosAccepted |
boolean
Whether the user has accepted the latest version of the ToS. The value is false when included in an error.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["API methods return a `403 Forbidden` error if the user hasn't accepted the latest Terms of Service (ToS)."],["Users can accept the new or updated ToS by signing into the zero-touch enrollment portal."],["The `latestTosAccepted` field in the JSON representation indicates whether the user has agreed to the current ToS, with a `false` value in case of an error."]]],["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"]]