propertymappings_source_ldap_partial_update
PATCH/api/v3//propertymappings/source/ldap/:pm_uuid/
LDAP PropertyMapping Viewset
Request
Path Parameters
A UUID string identifying this LDAP Source Property Mapping.
- application/json
Body
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Possible values: non-empty
Possible values: non-empty
Possible values: non-empty
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Get object's component so that we know how to edit the object
Return object's verbose_name
Return object's plural verbose_name
Return internal model name
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed": "string",
"name": "string",
"expression": "string",
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string"
}
- application/json
- Schema
- Example (auto)
Schema
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
{
"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.Patch, "/api/v3/propertymappings/source/ldap/:pm_uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"managed\": \"string\",\n \"name\": \"string\",\n \"expression\": \"string\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());