outposts_ldap_access_check
GET/api/v3//outposts/ldap/:id/check_access/
Check access to a single application by slug
Request
Path Parameters
id integerrequired
A unique integer value identifying this LDAP Provider.
Query Parameters
app_slug string
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
has_search_permissionboolean
access objectrequired
{
"has_search_permission": true,
"access": {
"passing": true,
"messages": [
"string"
],
"log_messages": [
{
"timestamp": "2024-07-29T15:51:28.071Z",
"log_level": "critical",
"logger": "string",
"event": "string",
"attributes": {}
}
]
}
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/outposts/ldap/:id/check_access/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());