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 (from schema)
Schema
has_search_permission boolean
access
object
required
{
"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 (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/outposts/ldap/:id/check_access/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'