Copy
PATCH https://api.didomi.io/widgets/{id}?organization_id=YOUR_ORG_ID
{
"auth": {
"method": "email",
"providerId": "",
"componentOptions": {
"backgroundColor": "",
"color": "",
"modal": {
"style": {
"default": {
"backgroundColor": "",
"padding": "",
"borderRadius": "",
"borderWidth": ""
}
},
"box": {
"style": {
"default": {
"backgroundColor": "",
"padding": "",
"borderRadius": "",
"borderWidth": ""
}
}
}
},
"image": {
"src": "",
"style": {
"default": {
"width": "",
"height": ""
}
}
},
"incorrectEmailText": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"inputLabelText": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"titleText": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"stepOneGuideLineText": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"otpLoginResendLink": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"sendNewCodeButtonText": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"otpLoginDescriptionStepTwo": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"codeNotValidErrorMessage": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"verifyCodeButton": {
"style": {
"default": {
"backgroundColor": "",
"padding": "",
"borderRadius": ""
}
},
"text": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
}
},
"otpLoginDescriptionStepOne": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
},
"authButton": {
"style": {
"default": {
"backgroundColor": "",
"padding": "",
"borderRadius": ""
}
},
"text": {
"style": {
"default": {
"color": "",
"fontSize": ""
}
}
}
},
"descriptionTextWrapper": {
"style": {
"default": {
"backgroundColor": ""
}
}
},
"codeFormFieldOptions": {
"label": {
"style": {
"default": {
"color": ""
}
}
},
"errorMessage": {
"style": {
"default": {
"color": ""
}
}
},
"inputOptions": {
"fontColor": "",
"fontSize": "",
"fontWeight": "",
"lineHeight": "",
"borderRadius": "",
"borderColor": "",
"borderWidth": "",
"errorBorderColor": "",
"placeholderColor": "",
"backgroundColor": ""
}
},
"emailFormFieldOptions": {
"label": {
"style": {
"default": {
"color": ""
}
}
},
"errorMessage": {
"style": {
"default": {
"color": ""
}
}
},
"inputOptions": {
"fontColor": "",
"fontSize": "",
"fontWeight": "",
"lineHeight": "",
"borderRadius": "",
"borderColor": "",
"borderWidth": "",
"errorBorderColor": "",
"placeholderColor": "",
"backgroundColor": ""
}
}
},
"hideIfNotAuthenticated": false
}
}