For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Updates the user data.
The id of the user you want to update.
The builder to update the user.
supabase.auth.admin.updateUserById(uid = "id") {
email = "example@email.com"
}
supabase.auth.admin.updateUserById(uid = "id") {
password = "password"
}
supabase.auth.admin.updateUserById(uid = "id") {
userMetadata = buildJsonObject {
put("key", "value")
}
}
supabase.auth.admin.updateUserById(uid = "id") {
appMetadata = buildJsonObject {
put("key", "value")
}
}
supabase.auth.admin.updateUserById(uid = "id") {
emailConfirm = true
}
supabase.auth.admin.updateUserById(uid = "id") {
phoneConfirm = true
}