---
id: outposts-ldap-access-check
title: "outposts_ldap_access_check"
description: "Check access to a single application by slug"
sidebar_label: "outposts_ldap_access_check"
hide_title: true
hide_table_of_contents: true
api: eJytVt9v2zYQ/lcIvmwDPCtI+zD4aVlnFAHSzWiyvRSBQUlniTVFqiTl1DP0v/eOlBw6ljdk6JN+kHf33Xcf73jgpgUrvDT6tuQLbjrfGufdWpWiXYuiAOfWRQ3Fls94Ca6wsqXNuPUd/WVxC/OGCeakrhQw0bZKFsEny/fMqa5C41ZY0YAH6/ji04FLcvGlA7vHNY0r+ImG62G3w5iN4IsD9/uW1py36J33/WywbYWvn01lOWUktYcKLO9fYr9hnZYYnQ072E4o+ipBe7nZYyTma+nY3e83K7ayZocrdo4hLHzppAWkytsO+scZ96KijI7McfznoOis9PuQqeh8TW63+PVIFhZca7QDR0ivr67oURgEoj29JvRlnx3BPZxnZvLPUPizmvwmHDAHVgol/8G0CiWwOE+1LGpWGnD6B89k0ypoMBgrLAgPWdeW+GBYnNqUjkplSRReRoS1cGsHwhb1Gv820jkZQQ1QcmMUCE0kRzH8N0xkoFOemQ2KpjWY7Z55cP4sdIvoqeqTwRoMJSpIwwlrBelJemjchHiIe1H+qdV+qN+MK1OtX+HpQkL3UfnojA3O2JP0NRNKsVDar54WKyjnZ0l6iSZeNO054BnfGNsIlAWnEv1MW/kAWsEOFJmA7hoSIMLxqBuFVvC1gAgN3601Fp9PwurhEV1LvTEhkTycOG28A0/qfYnBS6/ox52p7ijokgJGFHS4pmjGbVHMZyvC42veeZhkVZSlJNxCrVKO+r5Pj96n1MsYLGXliG2WsPt4kskyGJ0r4kWgE3kkmpsdtZm4XQUpP2C8j0Hg/Ax2PB8pEmwwoZHexKWQ6am2COTb79ol/sbuUMb+vBzUcSpJbfR6I0GV66Ce1xwxBFuYEqZXLpX3mY9naBHZRT7efEc+3oPGllmwm9XtBUJK8EKqSUFfzjat/OAgqfwQ9F/SDD2OejJ+VRC6I828Bc/GWZPRlM4OsuyzMKOHgZ3RLAS7G2dtZxVZiVZmuzcZ75MJdU8UxRyTOXXMpva+HQdraL84B2ie9kP7CO0r5vNsPuMUOWZxfXX9dv7L/PqM8w9iS1N2tBquCy4MJ+qRVFpRhNJiDYl7XoNS5tfKHCPNpQl9SBaA4zQIN94GPtw+oIuYNqXgFllWYT/u8nlhmixxkT2/5crkGYbS2d3tu+Uf98uQJvHcCJ04H8lnRP54/5m8IiUCfe1taeCfBkfWKgRFiYaEDoMKkhsHUoBQ8LEI16BUCvhJoqtxH5kcDjneEP6yqu/pd7x/kURK6USuSKsboRzM+Bb2pzeycEMKunykD7xi5FT3KduLJPz4cTgSP7H/fQObZGZsTnqfIh2zQFb6R9xVY6ungYWY4wI13dYnJmddhJI9HsL3S5IVKSa9kcQjMRtfyPskHOQ+7HgwW9DI/4jO0zcB7Ptv4qUArQ==
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={"outposts_ldap_access_check"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/outposts/ldap/{id}/check_access/"}
>
  
</MethodEndpoint>



Check access to a single application by slug

<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":"integer"},"description":"A unique integer value identifying this LDAP Provider.","required":true}}
      >
        
      </ParamsItem>
    </ul>
  </div>
</details><details
  style={{"marginBottom":"1rem"}}
  className={"openapi-markdown__details"}
  data-collapsed={false}
  open={true}
>
  <summary
    style={{}}
  >
    <h3
      className={"openapi-markdown__details-summary-header-params"}
    >
      Query Parameters
    </h3>
  </summary><div>
    <ul>
      <ParamsItem
        className={"paramsItem"}
        param={{"in":"query","name":"app_slug","schema":{"type":"string"}}}
      >
        
      </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={"has_search_permission"}
                        required={false}
                        schemaName={"boolean"}
                        qualifierMessage={undefined}
                        schema={{"type":"boolean"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={true}
                        className={"schemaItem"}
                      >
                        <details
                          style={{}}
                          className={"openapi-markdown__details"}
                        >
                          <summary
                            style={{}}
                          >
                            <span
                              className={"openapi-schema__container"}
                            >
                              <strong
                                className={"openapi-schema__property"}
                              >
                                access
                              </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"}}
                            >
                              
                              
                              result of a policy test
                              
                              
                            </div><SchemaItem
                              collapsible={false}
                              name={"passing"}
                              required={true}
                              schemaName={"boolean"}
                              qualifierMessage={undefined}
                              schema={{"type":"boolean"}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={false}
                              name={"messages"}
                              required={true}
                              schemaName={"string[]"}
                              qualifierMessage={undefined}
                              schema={{"type":"array","items":{"type":"string"},"readOnly":true}}
                            >
                              
                            </SchemaItem><SchemaItem
                              collapsible={true}
                              className={"schemaItem"}
                            >
                              <details
                                style={{}}
                                className={"openapi-markdown__details"}
                              >
                                <summary
                                  style={{}}
                                >
                                  <span
                                    className={"openapi-schema__container"}
                                  >
                                    <strong
                                      className={"openapi-schema__property"}
                                    >
                                      log_messages
                                    </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"}}
                                >
                                  <li>
                                    <div
                                      style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
                                    >
                                      Array [
                                    </div>
                                  </li><SchemaItem
                                    collapsible={false}
                                    name={"timestamp"}
                                    required={true}
                                    schemaName={"date-time"}
                                    qualifierMessage={undefined}
                                    schema={{"type":"string","format":"date-time"}}
                                  >
                                    
                                  </SchemaItem><SchemaItem
                                    collapsible={false}
                                    name={"log_level"}
                                    required={true}
                                    schemaName={"LogLevelEnum (string)"}
                                    qualifierMessage={"**Possible values:** [`critical`, `exception`, `error`, `warn`, `warning`, `info`, `debug`, `notset`]"}
                                    schema={{"enum":["critical","exception","error","warn","warning","info","debug","notset"],"type":"string","title":"LogLevelEnum"}}
                                  >
                                    
                                  </SchemaItem><SchemaItem
                                    collapsible={false}
                                    name={"logger"}
                                    required={true}
                                    schemaName={"string"}
                                    qualifierMessage={undefined}
                                    schema={{"type":"string"}}
                                  >
                                    
                                  </SchemaItem><SchemaItem
                                    collapsible={false}
                                    name={"event"}
                                    required={true}
                                    schemaName={"string"}
                                    qualifierMessage={undefined}
                                    schema={{"type":"string"}}
                                  >
                                    
                                  </SchemaItem><SchemaItem
                                    collapsible={true}
                                    className={"schemaItem"}
                                  >
                                    <details
                                      style={{}}
                                      className={"openapi-markdown__details"}
                                    >
                                      <summary
                                        style={{}}
                                      >
                                        <span
                                          className={"openapi-schema__container"}
                                        >
                                          <strong
                                            className={"openapi-schema__property"}
                                          >
                                            attributes
                                          </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"}}
                                      >
                                        <SchemaItem
                                          name={"property name*"}
                                          required={false}
                                          schemaName={"any"}
                                          qualifierMessage={undefined}
                                          schema={{"type":"object","additionalProperties":{}}}
                                          collapsible={false}
                                          discriminator={false}
                                        >
                                          
                                        </SchemaItem>
                                      </div>
                                    </details>
                                  </SchemaItem><li>
                                    <div
                                      style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
                                    >
                                      ]
                                    </div>
                                  </li>
                                </div>
                              </details>
                            </SchemaItem>
                          </div>
                        </details>
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"has_search_permission\": true,\n  \"access\": {\n    \"passing\": true,\n    \"messages\": [\n      \"string\"\n    ],\n    \"log_messages\": [\n      {\n        \"timestamp\": \"2024-07-29T15:51:28.071Z\",\n        \"log_level\": \"critical\",\n        \"logger\": \"string\",\n        \"event\": \"string\",\n        \"attributes\": {}\n      }\n    ]\n  }\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>
      