You can use the SmartThings CLI, see this post where you can find documentation about the installation and commands; or API requests using a tool such as Postman (refer to the SmartThings API document).
Maybe some information was cached, so try updating the friendlyName and externalDeviceID in the discovery response of the Schema connector:
addDevice(externalDeviceID, friendlyName, deviceHandlerType)