Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyloguje użytkownika ze wszystkich sesji w przeglądarce i na urządzeniach oraz resetuje jego pliki cookie logowania. Użytkownik będzie musiał się zalogować, ponownie uwierzytelniając się.
Żądanie HTTP
POST https://admin.googleapis.com/admin/directory/v1/users/{userKey}/signOut
Identyfikuje docelowego użytkownika w żądaniu interfejsu API. Wartością może być podstawowy adres e-mail użytkownika, alias adresu e-mail lub unikalny identyfikator użytkownika.
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia odpowiedź jest ogólną odpowiedzią HTTP, której format jest zdefiniowany przez metodę.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Method: users.signOut\n\nSigns a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/users/{userKey}/signOut`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userKey` | `string` Identifies the target user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.user.security`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]