Update Device for UserAsk AIput https://{server}/ns-api/v2/domains/{domain}/users/{user}/devices/{device}Path Paramsdomainstringrequiredlength ≤ 64Defaults to ~This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.userstringrequiredlength between 0 and 16Defaults to ~This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.devicestringrequiredBody Paramsdevice-sip-registration-passwordpasswordThis is the password which would be used for device registration. If left unset on device create it will create a new random password with a default length of 16 characters.caller-id-number-emergencystringDefaults to [*]This is a override value for emergency caller id value that would be specific to this device and would override the user's set value.device-force-notify-new-voicemails-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodevice-level-call-recording-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodevice-push-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnodevice-sip-registration-expiry-secondsintegerDefaults to 60This is the requested re-register perior for the device. The device will be treated as unregistered if they do not register in this window + a system wide grace period.device-sip-registration-ignore-for-presence-calculationstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodevice-sip-registration-ignore-report-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodevice-sip-no-to-tag-in-cancelstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodevice-srtp-enabledstringenumDefaults to noThis setting will enable SRTP (secure/encrypted audio) on the the device. Yes will force and "oppnoyesnoopportunisticAllowed:yesnoopportunisticauto-answer-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnorecording-configurationstringenumDefaults to noOption whether to record calls or not. Available options are "yes", "yes-with-transcription", "yes-with-transcription-and-sentiment", or "no"yesyes-with-transcriptionyes-with-transcription-and-sentimentnoAllowed:yesyes-with-transcriptionyes-with-transcription-and-sentimentnodevice-sip-allowed-user-agentstringThis value can be used to restrict registration to a specific User Agent or partial match of User Agent. This allows for an extra layer of secutiry if you know the expected user agent.device-sip-nat-traversal-enabledstringenumDefaults to automaticThis is the main nat transveral setting. In most all device cases "automatic" is the correct answeautomaticnoneneverfixedAllowed:automaticnoneneverfixedemergency-address-idstring | nullThis value if set will be the address-id specific to this device for emegeny callingdevice-models-modelstringThis is an optional model that when provided with device-provisioning-mac-address will link this device to the mac address in the device provisioning platform.device-provisioning-mac-addressstringThis is the mac address that has this device linked to it. This field can be used to link a mac address on device create. Must also provide a device-models-modeldevice-provisioning-registration-core-serverstringThis is the SiPbx Servers primary server config from a list of validdevice-provisioning-sip-transport-protocolstringenumDefaults to udpThis is the transport that will be requested when provising the device.udptcptlsAllowed:udptcptlsdevice-provisioning-usernamestring | nullThe provisioning username for the request to authenticate the configuration request.device-provisioning-passwordstring | nullThe provisioning password for the request to authenticate the configuration request.device-provisioning-lineintegerOptional setting to select which line is used on the device when provisionined with device-models-model and device-provisioning-mac-addressdevice-provisioning-overridesstringThis is the overrides set for the mac address in the provisioning server on the mac linked to this device.Responses 202Accepted 400Bad Request 401Authentication Required 404Record not foundUpdated 11 months ago