Set device SIP Settings
Set device SIP settings
- application/json
Request Body required
- proxy ipv4|dns requiredSIP proxy address 
- realm ipv4|dns requiredSIP server address 
- user string requiredPossible values: non-emptyand<= 31 charactersUser number 
- password string requiredPossible values: non-emptyand<= 31 charactersPassword used for authentication on SIP server 
- stun object required- STUN server settings ip ipv4|dns required- STUN server address port integer required- STUN server port 
- registration_interval numberPossible values: >= 30and<= 900For what period of time device stays registered on SIP server, re-registration happens 6 seconds before expiration time 
- h264 integer requiredPossible values: >= 99and<= 127Default value: 102h.264 payload type 
- transport stringPossible values: [ udp,tcp,tls]Which protocol should be used 
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- error object- Describes the base error user might get code string- Possible values: [ - invalid_authentication,- permission_denied,- not_valid,- system_error]- Error code message string- Error message - data object- Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc. param string- Describes the parameter that did not pass a validation 
{
  "error": {
    "code": "not_valid",
    "message": "Data validation error",
    "data": {
      "param": "must be a string"
    }
  }
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error object- Describes the base error user might get code string- Possible values: [ - invalid_authentication,- permission_denied,- not_valid,- system_error]- Error code message string- Error message - data object- Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc. param string- Describes the parameter that did not pass a validation 
{
  "error": {
    "code": "not_valid",
    "message": "Data validation error",
    "data": {
      "param": "must be a string"
    }
  }
}
{
  "error": {
    "code": "invalid_authentication",
    "message": "Log In"
  }
}