Update account center settings
Update the account center settings with the provided settings.
PATCH /api/account-center
curl \
-X PATCH https://[tenant_id].logto.app/api/account-center \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"fields":{"name":"Off","avatar":"Off","profile":"Off","email":"Off","phone":"Off","password":"Off","username":"Off","social":"Off","customData":"Off"}}'
Request examples
{
"enabled": true,
"fields": {
"name": "Off",
"avatar": "Off",
"profile": "Off",
"email": "Off",
"phone": "Off",
"password": "Off",
"username": "Off",
"social": "Off",
"customData": "Off"
}
}
Response examples (200)
{
"tenantId": "string",
"id": "string",
"enabled": true,
"fields": {
"name": "Off",
"avatar": "Off",
"profile": "Off",
"email": "Off",
"phone": "Off",
"password": "Off",
"username": "Off",
"social": "Off",
"customData": "Off"
}
}