Skip to main content

flows_instances_partial_update

PATCH 

/api/v3//flows/instances/:slug/

Flow Viewset

Request

Path Parameters

    slug stringrequired

Body

    name string

    Possible values: non-empty

    slug string

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

    Visible in the URL.

    title string

    Possible values: non-empty

    Shown as the Title in Flow pages.

    designation FlowDesignationEnum (string)

    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)

    Possible values: [message_continue, message, continue]

    authentication AuthenticationEnum (string)

    Possible values: [none, require_authenticated, require_unauthenticated, require_superuser, require_outpost]

Responses

Schema

    pk uuidrequired
    policybindingmodel_ptr_id uuidrequired
    name stringrequired
    slug stringrequired

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

    Visible in the URL.

    title stringrequired

    Shown as the Title in Flow pages.

    designation FlowDesignationEnum (string)required

    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

    stages uuid[]required
    policies uuid[]required
    cache_count integerrequired

    Get count of cached flows

    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)

    Possible values: [message_continue, message, continue]

    authentication AuthenticationEnum (string)

    Possible values: [none, require_authenticated, require_unauthenticated, require_superuser, require_outpost]

curl -L -X PATCH '/api/v3/flows/instances/:slug/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "string",
"slug": "string",
"title": "string",
"designation": "authentication",
"policy_engine_mode": "all",
"compatibility_mode": true,
"layout": "stacked",
"denied_action": "message_continue",
"authentication": "none"
}'
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
Body
{
  "name": "string",
  "slug": "string",
  "title": "string",
  "designation": "authentication",
  "policy_engine_mode": "all",
  "compatibility_mode": true,
  "layout": "stacked",
  "denied_action": "message_continue",
  "authentication": "none"
}