core_transactional_applications_update
PUT/api/v3//core/transactional/applications/
Convert data into a blueprint, validate it and apply it
Request
- application/json
Bodyrequired
app objectrequired
provider_modelProviderModelEnum (string)required
Possible values: [authentik_providers_google_workspace.googleworkspaceprovider
, authentik_providers_ldap.ldapprovider
, authentik_providers_microsoft_entra.microsoftentraprovider
, authentik_providers_oauth2.oauth2provider
, authentik_providers_proxy.proxyprovider
, authentik_providers_rac.racprovider
, authentik_providers_radius.radiusprovider
, authentik_providers_saml.samlprovider
, authentik_providers_scim.scimprovider
, authentik_providers_ssf.ssfprovider
]
provider objectrequired
policy_bindings object[]
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
appliedbooleanrequired
logsstring[]required
{
"applied": true,
"logs": [
"string"
]
}
- 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.Put, "/api/v3/core/transactional/applications/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"app\": {\n \"name\": \"string\",\n \"slug\": \"string\",\n \"provider\": 0,\n \"backchannel_providers\": [\n 0\n ],\n \"open_in_new_tab\": true,\n \"meta_launch_url\": \"string\",\n \"meta_description\": \"string\",\n \"meta_publisher\": \"string\",\n \"policy_engine_mode\": \"all\",\n \"group\": \"string\"\n },\n \"provider_model\": \"authentik_providers_google_workspace.googleworkspaceprovider\",\n \"provider\": {\n \"name\": \"string\",\n \"property_mappings\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"property_mappings_group\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"delegated_subject\": \"user@example.com\",\n \"credentials\": {},\n \"scopes\": \"string\",\n \"exclude_users_service_account\": true,\n \"filter_group\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"user_delete_action\": \"do_nothing\",\n \"group_delete_action\": \"do_nothing\",\n \"default_group_email_domain\": \"string\",\n \"dry_run\": true\n },\n \"policy_bindings\": [\n {\n \"policy\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"group\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"user\": 0,\n \"negate\": true,\n \"enabled\": true,\n \"order\": 0,\n \"timeout\": 0,\n \"failure_result\": true\n }\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());