61 13... Circular connector, 7-pin, 8-pin, system D2.5
WARNING: This page does not describe the selected car, but rather 21 other vehicles, including the 2017 BMW 550i GT xDrive, 2017 BMW 535i GT xDrive, 2017 BMW 535i GT, 2016 BMW 550i GT xDrive, and 2016 BMW 535i GT xDrive. However, it is still accessible from the selected car via links, so may be relevant.
Special tools required:
Carefully pull off rubber grommet (1).
Carefully press back retaining tabs (2) of internal connector (3).
Slide internal connector (3) in direction of arrow until retaining tabs (2) lock into locking groove (4).
Use special tool 61 0 303 (61 1 132) to press back retaining hook (5) of corresponding contact and pull out cable with contact.