def do_remove_realm_custom_profile_field(realm: Realm, field: CustomProfileField) -> None:
    '\n    Deleting a field will also delete the user profile data\n    associated with it in CustomProfileFieldValue model.\n    '
    field.delete()
    notify_realm_custom_profile_fields(realm, 'delete')
Deleting a field will also delete the user profile data
associated with it in CustomProfileFieldValue model.
def do_remove_realm_custom_profile_field(realm: Realm, field: CustomProfileField) -> None:
    '\n    Deleting a field will also delete the user profile data\n    associated with it in CustomProfileFieldValue model.\n    '
    field.delete()
    notify_realm_custom_profile_fields(realm, 'delete')