Create New Authentication Flow
Create New Authentication Flow
Path Parameters
workspaceName string required
Header Parameters
Authentication string
Example: Bearer {{token}}
application/json
Request Body
id
string
Authentication flow id
alias
string
Authentication flow name
description
string
Description for the flow
providerId
string
Provider Id for the flow ex(basic-flow)
topLevel
boolean
If it's true it will be in top of the flow
builtIn
boolean
This boolean value indicates whether it is builtIn flow or custom flow
templateType
string
It indicates flow type ex(onboarding, login, recovery)
templateAlias
string
Template type description or name
hidden
boolean
If it is true it won't visible in the dashboard.
installed
boolean
If this flow is used in the application it will be true. In default it will false
Sample Request Body
{
"id":"909b9aa6-9279-4065-91a4-91c5fed8b15r",
"alias":"email9876",
"description":"This is the Custom onboarding Flow with the name of email9876",
"providerId":"basic-flow",
"topLevel":true,
"builtIn":false,
"templateType":"onboarding",
"templateAlias":"This is the Custom onboarding Flow with the name of email9876",
"hidden":false,
"installed":true
}
HTTP STATUS CODE SUMMARY | ||
---|---|---|
200 - OK | Successfully done. | |
201 - OK | Successfully created. | |
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
401 - Unauthorized | Unauthorized access try with correct access. | |
402 - Request Failed | The parameters were valid but the request failed. | |
403 - Forbidden | The Application doesn't have permissions to perform the request. | |
404 - Not Found | The requested resource doesn't exist | |
500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
503 - Server Errors | Service temporarily unavailable |
Loading...