Skip to main content

Create New Authentication Flow

Create New Authentication Flow

Path Parameters
    workspaceName string required
Header Parameters
    Authentication string
    Example: Bearer {{token}}

Request Body

idstring

Authentication flow id

aliasstring

Authentication flow name

descriptionstring

Description for the flow

providerIdstring

Provider Id for the flow ex(basic-flow)

topLevelboolean

If it's true it will be in top of the flow

builtInboolean

This boolean value indicates whether it is builtIn flow or custom flow

templateTypestring

It indicates flow type ex(onboarding, login, recovery)

templateAliasstring

Template type description or name

hiddenboolean

If it is true it won't visible in the dashboard.

installedboolean

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 - OKSuccessfully done.
201 - OKSuccessfully created.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedUnauthorized access try with correct access.
402 - Request FailedThe parameters were valid but the request failed.
403 - ForbiddenThe Application doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist
500 - Server ErrorsSomething went wrong on ezto auth's end. (These are rare.)
503 - Server ErrorsService temporarily unavailable

Loading...