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
- application/json
Body
required
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
plugin objectrequired
elements object[]
elementType stringrequired
Possible values: [excludeAccountShield
, includeAccountShield
]
selectors string[]required
urlPattern string
events object[]
eventType stringrequired
Possible values: [loginFail
, loginAttempt
, passwordReset
, userRegistration
]
headers object[]
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[]
loginPageUrl string
resetPasswordUrl string
urlPattern string
Responses
- 201
- 400
- 403
- 409
- 500
Plugin created successfully
- application/json
- Schema
- Example (from schema)
Schema
pluginId string
The ID of the newly created plugin
{
"pluginId": "string"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
errorResponse object
error string
message stringrequired
{
"errorResponse": {
"error": "string",
"message": "string"
}
}
Forbidden
Conflict
Internal server error
Loading...