add documentation for remove-by-attributes API method