Files
authentik/website/docs/developer-docs/api/reference/providers-microsoft-entra-users-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

490 lines
19 KiB
Plaintext

---
id: providers-microsoft-entra-users-retrieve
title: "providers_microsoft_entra_users_retrieve"
description: "MicrosoftEntraProviderUser Viewset"
sidebar_label: "providers_microsoft_entra_users_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVlFv2zYQ/iuEMGAb4khpmgKDnxIsRmAgWYul6UvqGbR0tthQpEpSdj1D/313pGQzseNuWJ8sk8fj9919d7xNomsw3AmtxkUyTGqjl6IAY6eVyI22eu6moJzh08bSqgFnBCwhGSQF2NyImo7iwbvefETWHzo3D3iIfRKwsuDwSM0Nr8Cho2T4uEkEHay5K3FL4Qb+EwV+27yEiifDTeLWNa1avFQtcGeuTcUdrjQNWrYvQVyxh4fxNQvmDAEoJ+Zr+nalsGyLkXmQrEfJCGaK7g18bYQBDIQzDbSTQeL4grDu4pLgooW8McKtPQneuJLuecJ/EzpiwNZaWbBE4PzsjH5yrRwa0SevaylyH/HsiyXYm33CevYFcvdfgnwPRnAp/gZDcTaUVScCBozUd0NJsHnxXsl1x32Q7ARwyAEakCKiDYEUF7jS7UyRg+cr5fu5j9Rxbvfot66hYIVeKUYemN1yYk4zW+oVMyBhyZXzBpYhCbYwuqntHuv66QC2lzQxwcJJshhf98CDEvcD9hzun51UUvbm3RnLS1R2TsJmiGgOK9QTuwVHKwNWiIVwlnFVsMsszU6y02zKNIJIfU2QFbn86/Hz51V6eXI6OfkJNyr+7RbUAqtjiFe0fYl8Dxip4WeLd9pa8jWjQylRE3aKCMUydjHTWgJXyS4MV8HkpdNrsGKhuAPLViWg4E2oqJCmUjeyYDNgDqPrMIUcyXpHKXvASpCY72AvlHWYAKbnrMBlR6XJ81w3ylmPUnLrplIvhDqq2QKvOXWiIqSqkZLPCH0nXCwlIY8eDxY71iP6z3hRYO3a56E/f3eBLjFHRswaF6T1Ush4UFCguPwQS7AlQR0uvhfF1sat5zEkekAKDg4iXU52oG9I93dQzajmJgcKuO9Zh2v0OaXjgCLbQWjRz5pDdFXXFaIWECF+vX0lbbvXzAnkxQ9tn5+wmRT+KBsZo/c7pdJqOhcgiynQfpxsbgxfE3sHlT3QDhFsrosD9Uk7rwlkF5odtIDs1Xi8/YHxuAGFHTZnVx/GrwSkAHewlo6yjZXTOYhlGy49QpPeHuwxmuaRRTc3UCkm2fYVzg5OJ9lGFG1GAwSYZT9kNEbSUV6LbPk285XSv9/3FKdANHrFt5RK5+p+GvHdErjxUkUVqLn2lh2p3fFBQjcHKudn5xfpb+mb/XecP/nO150K6WNWVLUEehMov9hA6YaumSUlSKkvF3p7Uyq0b5giB2yxXr1hhLobf6T687SJgh1mGb4/ZTNLc11lkYts9zWTepbhVSq7Hf8++uN+5GnW2rqKq8j5NgNsmwHmM9A9yK/Nh5Fm/92o2OXAwTeX4UOG70Hbkdp0coiHsrghRYLA9aHvTyTAEsnQqc1mxi08GNm2tPy1AUOTHH4uOc4b/iVB3eADSt8owjmXFo7w+aWfBX5l/3cAPci670CK+s+Sy4b+4ecTrMPE3E7QqsQOTr0eoYeNqzyH2kVH9loF1cK20m5GJBtSRDwgBMkP+o9ojHsOB4PqLT7qJ1AY2B6do/8EsG3/ARa/Udc=
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 Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"providers_microsoft_entra_users_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/providers/microsoft_entra_users/{id}/"}
>
</MethodEndpoint>
MicrosoftEntraProviderUser 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 Microsoft Entra 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={"microsoft_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 \"microsoft_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-09-13T14:05:42.407Z\",\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>