Tap your profile picture > Settings > Account preferences.Tap Close account under Account management.Tap Continue to proceed with closing your account.Tap the reason for closing your account and tap Next.Enter your account password and tap Done.
See How To Change Your LinkedIn URL easily.