Create New User Flow

POST {{baseFlow}}/beta/identity/b2cUserFlows

This request uses the userFlowId, userFlowType, userFlowTypeVersion and isLanguageCustomizationEnabled and creates a new User Flow. This API uses the access key stored in bearerToken for authentication.

This request also uses a variable called baseFlow as part of the request URL. This allows the switching of this request from a regular POST request (which would use https://graph.microsoft.com) to an example generated through the Mock Server (which would use the Mock Server URL).

HEADERS

KeyDatatypeRequiredDescription
x-mock-response-namestring

RESPONSES

status: Created

{"@odata.context":"https://graph.microsoft.com/beta/$metadata#identity/b2cUserFlows/$entity","id":"{{userFlowId}}","userFlowType":"{{userFlowType}}","userFlowTypeVersion":"{{userFlowTypeVersion}}","isLanguageCustomizationEnabled":"{{isLanguageCustomizationEnabled}}","defaultLanguageTag":"en","authenticationMethods":"emailWithPassword","tokenClaimsConfiguration":{"isIssuerEntityUserFlow":false},"apiConnectorConfiguration":{}}