Skip to main content

core_applications_update

PUT 

/api/v3//core/applications/:slug/

Application Viewset

Request

Path Parameters

    slug stringrequired

Body

required

    name stringrequired

    Application's display Name.

    Possible values: non-empty

    slug stringrequired

    Internal application name, used in URLs.

    Possible values: non-empty and <= 50 characters, Value must match regular expression ^[-a-zA-Z0-9_]+$

    provider integernullable
    backchannel_providers integer[]
    open_in_new_tab boolean

    Open launch URL in a new browser tab or window.

    meta_launch_url uri
    meta_description string
    meta_publisher string
    policy_engine_mode PolicyEngineMode (string)

    Possible values: [all, any]

    group string

Responses

Schema

    pk uuidrequired
    name stringrequired

    Application's display Name.

    slug stringrequired

    Internal application name, used in URLs.

    Possible values: <= 50 characters, Value must match regular expression ^[-a-zA-Z0-9_]+$

    provider integernullable

    provider_obj

    object

    required

    Provider Serializer

    pk ID (integer)required
    name stringrequired
    authentication_flow uuidnullable

    Flow used for authentication when the associated application is accessed by an un-authenticated user.

    authorization_flow uuidrequired

    Flow used when authorizing this provider.

    invalidation_flow uuidrequired

    Flow used ending the session from a provider.

    property_mappings uuid[]
    component stringrequired

    Get object component so that we know how to edit the object

    assigned_application_slug stringrequired

    Internal application name, used in URLs.

    assigned_application_name stringrequired

    Application's display Name.

    assigned_backchannel_application_slug stringrequired

    Internal application name, used in URLs.

    assigned_backchannel_application_name stringrequired

    Application's display Name.

    verbose_name stringrequired

    Return object's verbose_name

    verbose_name_plural stringrequired

    Return object's plural verbose_name

    meta_model_name stringrequired

    Return internal model name

    backchannel_providers integer[]

    backchannel_providers_obj

    object[]

    required

  • Array [

  • pk ID (integer)required
    name stringrequired
    authentication_flow uuidnullable

    Flow used for authentication when the associated application is accessed by an un-authenticated user.

    authorization_flow uuidrequired

    Flow used when authorizing this provider.

    invalidation_flow uuidrequired

    Flow used ending the session from a provider.

    property_mappings uuid[]
    component stringrequired

    Get object component so that we know how to edit the object

    assigned_application_slug stringrequired

    Internal application name, used in URLs.

    assigned_application_name stringrequired

    Application's display Name.

    assigned_backchannel_application_slug stringrequired

    Internal application name, used in URLs.

    assigned_backchannel_application_name stringrequired

    Application's display Name.

    verbose_name stringrequired

    Return object's verbose_name

    verbose_name_plural stringrequired

    Return object's plural verbose_name

    meta_model_name stringrequired

    Return internal model name

  • ]

  • launch_url stringnullablerequired

    Allow formatting of launch URL

    open_in_new_tab boolean

    Open launch URL in a new browser tab or window.

    meta_launch_url uri
    meta_icon stringnullablerequired

    Get the URL to the App Icon image. If the name is /static or starts with http it is returned as-is

    meta_description string
    meta_publisher string
    policy_engine_mode PolicyEngineMode (string)

    Possible values: [all, any]

    group string

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "/api/v3/core/applications/:slug/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\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}", 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 required
{
  "name": "string",
  "slug": "string",
  "provider": 0,
  "backchannel_providers": [
    0
  ],
  "open_in_new_tab": true,
  "meta_launch_url": "string",
  "meta_description": "string",
  "meta_publisher": "string",
  "policy_engine_mode": "all",
  "group": "string"
}