TosError
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
서비스 약관 (ToS) 오류 OAuth 사용자 인증 정보로 표현되는 사용자가 최신 버전의 제로터치 등록 서비스 약관에 동의하지 않은 경우 API 메서드가 HTTP 403 Forbidden
상태 코드를 반환합니다.
API 사용자는 제로터치 등록 포털에 로그인하여 신규 또는 업데이트된 서비스 약관을 수락할 수 있습니다. 사용자가 로그인하면 포털에서 서비스 약관 동의 패널이 표시됩니다.
JSON 표현 |
{
"latestTosAccepted": boolean
} |
필드 |
latestTosAccepted |
boolean
사용자가 최신 버전의 서비스 약관에 동의했는지 여부입니다. 오류에 포함된 경우 값은 false 입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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. |"]]