function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John HutchinsonJohn Hutchinson 

LoginHistory delete() method in spec but not allowed.

We have a client who wishes to not record IP address information for community users, (or to delete them), to protect user privacy on the basis that the police may subpoena the records and they want to assure user anonymity at least within the organisation.

The SOAP API documentation for LoginHistory here does say that: "You can also enable delete() in API version 42.0 and later. See Enable delete of Field History and Field History Archive."
(https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_loginhistory.htm), however the linked kb is for Field History information not login history. 

I've tried enabling the System settings described and then trying a DML delete on a LoginHistory SObject but still no dice.

Have I missed something glaringly obvious? Or is the documentation incorrect?
(If the documentation is incorrect do I win a prize :-D )

Thanks for any help or input anyone can add.
Cheers.