Skip to main content

stages_user_login_partial_update

PATCH 

/stages/user_login/:stage_uuid/

UserLoginStage Viewset

Request

Path Parameters

    stage_uuid uuidrequired

    A UUID string identifying this User Login Stage.

Body

    name string

    Possible values: non-empty

    flow_set

    object[]

  • Array [

  • name stringrequired

    Possible values: non-empty

    slug stringrequired

    Visible in the URL.

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

    title stringrequired

    Shown as the Title in Flow pages.

    Possible values: non-empty

    designation FlowDesignationEnum (string)required

    Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik.

    Possible values: [authentication, authorization, invalidation, enrollment, unenrollment, recovery, stage_configuration]

    policy_engine_mode PolicyEngineMode (string)

    Possible values: [all, any]

    compatibility_mode boolean

    Enable compatibility mode, increases compatibility with password managers on mobile devices.

    layout FlowLayoutEnum (string)

    Possible values: [stacked, content_left, content_right, sidebar_left, sidebar_right]

    denied_action DeniedActionEnum (string)

    Configure what should happen when a flow denies access to a user.

    Possible values: [message_continue, message, continue]

  • ]

  • session_duration string

    Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)

    Possible values: non-empty

    terminate_other_sessions boolean

    Terminate all other sessions of the user logging in.

    remember_me_offset string

    Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)

    Possible values: non-empty

    network_binding NetworkBindingEnum (string)

    Bind sessions created by this stage to the configured network

    Possible values: [no_binding, bind_asn, bind_asn_network, bind_asn_network_ip]

    geoip_binding GeoipBindingEnum (string)

    Bind sessions created by this stage to the configured GeoIP location

    Possible values: [no_binding, bind_continent, bind_continent_country, bind_continent_country_city]

Responses

Schema

    pk uuidrequired
    name stringrequired
    component stringrequired

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

    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

    flow_set

    object[]

  • Array [

  • pk uuidrequired
    policybindingmodel_ptr_id uuidrequired
    name stringrequired
    slug stringrequired

    Visible in the URL.

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

    title stringrequired

    Shown as the Title in Flow pages.

    designation FlowDesignationEnum (string)required

    Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik.

    Possible values: [authentication, authorization, invalidation, enrollment, unenrollment, recovery, stage_configuration]

    background stringrequired

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

    policy_engine_mode PolicyEngineMode (string)

    Possible values: [all, any]

    compatibility_mode boolean

    Enable compatibility mode, increases compatibility with password managers on mobile devices.

    export_url stringrequired

    Get export URL for flow

    layout FlowLayoutEnum (string)

    Possible values: [stacked, content_left, content_right, sidebar_left, sidebar_right]

    denied_action DeniedActionEnum (string)

    Configure what should happen when a flow denies access to a user.

    Possible values: [message_continue, message, continue]

  • ]

  • session_duration string

    Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)

    terminate_other_sessions boolean

    Terminate all other sessions of the user logging in.

    remember_me_offset string

    Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)

    network_binding NetworkBindingEnum (string)

    Bind sessions created by this stage to the configured network

    Possible values: [no_binding, bind_asn, bind_asn_network, bind_asn_network_ip]

    geoip_binding GeoipBindingEnum (string)

    Bind sessions created by this stage to the configured GeoIP location

    Possible values: [no_binding, bind_continent, bind_continent_country, bind_continent_country_city]

Loading...