Skip to main content

core_brands_partial_update

PATCH 

/api/v3//core/brands/:brand_uuid/

Brand Viewset

Request

Path Parameters

    brand_uuid uuidrequired

    A UUID string identifying this Brand.

Body

    domainstring

    Domain that activates this brand. Can be a superset, i.e. a.b for aa.b and ba.b

    Possible values: non-empty

    defaultboolean
    branding_titlestring

    Possible values: non-empty

    branding_logostring

    Possible values: non-empty

    branding_faviconstring

    Possible values: non-empty

    branding_custom_cssstring
    branding_default_flow_backgroundstring

    Possible values: non-empty

    flow_authenticationuuidnullable
    flow_invalidationuuidnullable
    flow_recoveryuuidnullable
    flow_unenrollmentuuidnullable
    flow_user_settingsuuidnullable
    flow_device_codeuuidnullable
    default_applicationuuidnullable

    When set, external users will be redirected to this application after authenticating.

    web_certificateuuidnullable

    Web Certificate used by the authentik Core webserver.

    attributes

Responses

Schema
    brand_uuiduuidrequired
    domainstringrequired

    Domain that activates this brand. Can be a superset, i.e. a.b for aa.b and ba.b

    defaultboolean
    branding_titlestring
    branding_logostring
    branding_faviconstring
    branding_custom_cssstring
    branding_default_flow_backgroundstring
    flow_authenticationuuidnullable
    flow_invalidationuuidnullable
    flow_recoveryuuidnullable
    flow_unenrollmentuuidnullable
    flow_user_settingsuuidnullable
    flow_device_codeuuidnullable
    default_applicationuuidnullable

    When set, external users will be redirected to this application after authenticating.

    web_certificateuuidnullable

    Web Certificate used by the authentik Core webserver.

    attributes

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "/api/v3/core/brands/:brand_uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"domain\": \"string\",\n \"default\": true,\n \"branding_title\": \"string\",\n \"branding_logo\": \"string\",\n \"branding_favicon\": \"string\",\n \"branding_custom_css\": \"string\",\n \"branding_default_flow_background\": \"string\",\n \"flow_authentication\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"flow_invalidation\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"flow_recovery\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"flow_unenrollment\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"flow_user_settings\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"flow_device_code\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"default_application\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"web_certificate\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"attributes\": {}\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
Body
{
  "domain": "string",
  "default": true,
  "branding_title": "string",
  "branding_logo": "string",
  "branding_favicon": "string",
  "branding_custom_css": "string",
  "branding_default_flow_background": "string",
  "flow_authentication": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "flow_invalidation": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "flow_recovery": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "flow_unenrollment": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "flow_user_settings": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "flow_device_code": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "default_application": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "web_certificate": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "attributes": {}
}