curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/sdkViews/{sdkViewType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}
'{
"type": "login",
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/sdkViews/{sdkViewType} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}
'{
"type": "login",
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Type of sdk view
login Request body to update the sdk view for an environment.
The sections which will be used create the view in the sdk. The sections will be displayed in the order that they appear in the array.
Show child attributes
Was this page helpful?