Skip to main content
PUT
/
environments
/
{environmentId}
/
sdkViews
/
{sdkViewType}
Updates the configs for the sdk view and project environment
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/sdkViews/{sdkViewType} \
  --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"
    }
  ]
}

Path Parameters

environmentId
string
required
Required string length: 36
Example:
sdkViewType
enum<string>
required
Available options:
login

Body

application/json
sections
object[]

Response

type
enum<string>
required
Available options:
login
sections
object[]