Skip to main content

Create plugin

POST 

/seb-api/v1/applications/:id/plugins

Creates a new plugin associated with the application ID.

Request

Path Parameters

    id stringrequired

    The ID of the application to create the plugin for

Body

required
    plugin objectrequired
    elements object[]
  • Array [
  • elementType stringrequired

    Possible values: [excludeAccountShield, includeAccountShield]

    selectors string[]required
    urlPattern string
  • ]
  • events object[]
  • Array [
  • eventType stringrequired

    Possible values: [loginFail, loginAttempt, passwordReset, userRegistration]

    headers object[]
  • Array [
  • content stringrequired
    name stringrequired
  • ]
  • maxContentLength integer
    method string

    Possible values: [GET, POST, PUT, PATCH, DELETE]

    minContentLength integer
    requestUrl string
    statusCode integer
    triggerOnFail boolean
    triggerOnSuccess boolean
    triggerUrl string
  • ]
  • links object[]
  • Array [
  • loginPageUrl string
    resetPasswordUrl string
    urlPattern string
  • ]

Responses

Plugin created successfully

Schema
    pluginId string

    The ID of the newly created plugin

Loading...