Update a SIP Register Account

/update

Full Url: https://apiv1.teleapi.net/sipaccounts/update

Arguments:

  • token (string, required)
  • sipaccount_id (int, required)
  • account_type (server or device, required)
  • username (string, required)
  • password (string, required)
  • caller_id (string, optional)

Info: Update a sip account with us. All fields are required, so if they're not changing just send back what is already there.

Example Success

{
    "code": 200,
    "status": "success",
    "data": "Successfully updated sip account"
}

Example Error

{
    "code": 400,
    "status": "error",
    "data": "Invalid sip account id"
}

results matching ""

    No results matching ""