PUT - Service Provider Device
Update a single device in a Service Provider or Enterprise.
Parameters
service_provider_id (str): Service Provider or Enterprise ID where device is located.
device_name (str): Device name of the target device.
updates (dict): Updates to apply to the target device.
Returns
Dict: Python dictionary of the new state after updates have been applied.
How To Use:
updates = {
"deviceType": "Polycom Soundpoint IP 500",
"protocol": "SIP 2.0",
"numberOfPorts": {
"quantity": "3"
},
"numberOfAssignedPorts": 0,
"status": "Online",
"transportProtocol": "UDP",
"useCustomUserNamePassword": True,
"deviceLevel": "Service Provider",
"accessDeviceCredentials": {
"userName": None
},
"tags": [],
"relatedServices": []
}
my_api.devices.put_service_provider_device(
"service_provider_id",
"group_id",
updates=updates
)
Last updated
Was this helpful?