Files
authentik/website/docs/developer-docs/api/reference/providers-google-workspace-users-retrieve.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

489 lines
19 KiB
Plaintext

---
id: providers-google-workspace-users-retrieve
title: "providers_google_workspace_users_retrieve"
description: "GoogleWorkspaceProviderUser Viewset"
sidebar_label: "providers_google_workspace_users_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVlFv2zYQ/iuEMKAb4kiZmwKFnxIsRmAgWYOl6R5Sz6Cls8SaJlWSsusZ+u+7IyVbsR13w/pkmbwjv+/uu+NtIl2C4U5oNcqiQVQavRQZGDvJtc4lTFbazG3JU5hUlpYNOCNgCVEvysCmRpTki5633v7P1vyhOegJvdgnASsLDn1KbvgCHJ4UDZ43kSDPkrsCtxRu4D+R4bdNC1jwaLCJ3LqkVYu3qhx3ZtosuMOVqkLLeh/FNXt6Gt2wYM4QgHJitqZvVwjLAki2RclamIxwxni+ga+VMICxcKaCetyLHM8J7C40ES5aSCsj3Nqz4JUr6KI5/huTiwFbamXBEoP+xQX9pFo5NKJPXpZSpD7oyRdLuDeHjPX0C6TuP4X5EYzgUvwNhiJtKLNOBBAYq+8Gk3Dz7IOS64Z8L2pEcMwbd0kRnQ2BBHNcaXYmyMCzlfLDzMfpNLNHPLcsIWOZXilGJzC7JcScZrbQK2ZAwpIr5w0sQwYsN7oq7QHlcn4E2z5HTK9wkixGNy3wIMTDaL2E+0cjlJj9+u6CpQUKOyVdM0Q0gxWqid2Bo5Uey0QunGVcZewqiZOz5DyZMI0gYl8SZEVH/vX8+fMqvjo7H5/9hBsL/u0OVI7FMcAr6rZCvgeMpPDG4p22lHzNyCkmasJOEKFYdo+Yai2Bq2gXhutgsn/oDViRK+7AslUBKHcTCiqkqdCVzNgUmMPoOkwhR7L+oJg9YR1IzHewF8o6TADTM5bhsqPK5GmqK+WsRym5dROpc6FOCjbDa86dWBBSVUnJp4S+US0WkpAn3YPFjvWQ/jOeZVi59mXo++8u8UjMkRHTygVp7QsZHQUFisuHrgRrEtTxyturtLrbeJ5Donuk4HBAR5fjHehb0v09LKZUc+Mj1dt2rOM1+pLSaUAd225T6IVuvb2naQmd+u/Cfb1zRXV90MkJ4uUPbZ2fsJVk3pUNjdGHTVJpNZkJkNkEaL+bam4MXxNfBwt7pBki2FRnR6qTdl6Txy42O2gB2avxePsjnxJQ2F9Tdv0weiUgGbijlXSSbVc3zQFdFYRLT9DEJZwQCk3jSN4MDVSIUbJ9gZPjw0myEVmd0PgAZtmOGJWR5MtLkSzfJr5Q2sf7kQIVmHae8C2nwrmynUV8swRuvFZRBmqmvWXDaufei+jmwKV/0b+M38f9g8jf87lvfI1XyB+zYlFKoCeBEoz9k25oellUgJT6Ktfbm2Khfb8UKWCH9fINA9T96CNVoKdNFOwgSfD5KappnOpF0jki2X1NpZ4meJVK7ka/DX9/HHqapbZuwVXn8G0KWEgB26ageZBfmw87qv2Xo2KTBQffXIIvGT4IdUNr0yiiO5Nt29KeJnBj4JsUibBAPuS22Uy5hScj65qWv1ZgaJLDzyXHicO/JSgdfELpG4U449LCCUY/t9PAL+x/T6BHebdtSFETWnJZ0T/8nMM6zMz1GK0KbOLU7hF72LhOUyhdx+WgX1A9bMvtdkjSIVV0Z4Qg+1770ZnkXsLBqHqLj3oOCiPbonP0nwDW9T8lfFK+
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"providers_google_workspace_users_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/providers/google_workspace_users/{id}/"}
>
</MethodEndpoint>
GoogleWorkspaceProviderUser Viewset
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Google Workspace Provider User.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"id"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"google_id"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"user"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer"}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
user_obj
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<div
style={{"marginTop":".5rem","marginBottom":".5rem"}}
>
Stripped down user serializer to show relevant users for groups
</div><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"username"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 150 characters`, Value must match regular expression `^[\\w.@+-]+$`"}
schema={{"type":"string","description":"Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.","pattern":"^[\\w.@+-]+$","maxLength":150}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"User's display name."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_active"}
required={false}
schemaName={"Active (boolean)"}
qualifierMessage={undefined}
schema={{"type":"boolean","title":"Active","description":"Designates whether this user should be treated as active. Unselect this instead of deleting accounts."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"last_login"}
required={false}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"email"}
required={false}
schemaName={"email"}
qualifierMessage={"**Possible values:** `<= 254 characters`"}
schema={{"type":"string","format":"email","title":"Email address","maxLength":254}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"attributes"}
required={false}
schemaName={"object"}
qualifierMessage={undefined}
schema={{"type":"object"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"uid"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"provider"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"attributes"}
required={true}
schemaName={""}
qualifierMessage={undefined}
schema={{"readOnly":true}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"google_id\": \"string\",\n \"user\": 0,\n \"user_obj\": {\n \"pk\": 0,\n \"username\": \"string\",\n \"name\": \"string\",\n \"is_active\": true,\n \"last_login\": \"2024-07-29T15:51:28.071Z\",\n \"email\": \"user@example.com\",\n \"attributes\": {},\n \"uid\": \"string\"\n },\n \"provider\": 0\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>