---
id: core-users-impersonate-end-retrieve
title: "core_users_impersonate_end_retrieve"
description: "End Impersonation a user"
sidebar_label: "core_users_impersonate_end_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVE1r4zAQ/StGZxOFtIelpy1LKIHtUmh3L0sJY2kaq1EkV5LDBuP/vjOymzr9OvVkeTRf783TdMI3GCAZ71ZaXAjlA67biCGuzY5uoneQcI1OrwOmYHCPohQaowqm4SiKWTpdrI7OZCug4BTkmGATxcXfnFbclyKiaoNJB7J1AtpUo0tmS3/3Pd0GjI13ESmkE4v5OX9OS922SmGMD621hyImCAl1Yaa1RV+K8/mcQ5V3ifLzEZrGGpUd5GPkVJ2IqsYd8CkdGqTkvnpEld7A+wPW6AHXMgTPsJrArCUzdOq8Wz8YtHqNfB8nKSEEOFCASbib2iNR6Taip2aV1/j+DWhtuCzYm2k9ukkmWTxpbeis57DT7gc+zr6Qjyt0GIwqLm9WHxCiMYGx74D6DG3Ap9YE1CyXMcH9C9Kx6CcwybTDVHtW8Qa57QZSTT+SxSezpuUrTUvBkgx75KGRIttgOQAaI/dnUvQTxd4yOwO8iW6PQOqUGk6Wvei/QggYclfGPfjsOUJ5CS8FVx4ALOaL89m32eIN3dewJYqK56hhaEUkJBZnosxTBZWnSuNj2kWN1vrvG3+sNDOeyaeRIz2vrFnIbV6v7ijFAJshxAspNybVbTVTficnKeTLqbK+klTKyZ+rH8tft8sMs/Ex7cBNkjPveRHEyRPFgngvPtolE5F+ulYG0hP+S7Kx1Amjyyi6cerjyiEr1+cXeDp5srC8amqanbuugoi/g+17Nj+1GHhH0XEPwUDFg6MdRQEImlpgsWyRXMQlLaSG1bYH2+bxvn5arKKjMq+WTDhzORHPKJby+cDZnxeIO0xyU5vZ485v0VGr5dhE4n8qRA/jP7Z1BSY=
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={"core_users_impersonate_end_retrieve"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/core/users/impersonate_end/"}
>
  
</MethodEndpoint>



End Impersonation a user

<div>
  <div>
    <ApiTabs
      label={undefined}
      id={undefined}
    >
      <TabItem
        label={"204"}
        value={"204"}
      >
        <div>
          
          
          Successfully started impersonation
          
          
        </div><div>
          
        </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>
      