SIP Accounts

Update SIP account

Update SIP account settings.

patch/api/v1/sipaccounts/{id}

Request

  • Base URL: https://app.didlogic.com
  • URL: https://app.didlogic.com/api/v1/sipaccounts/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:01234

SIP account name or id from sipaccounts_index, sipaccounts_create: the account name (e.g. 01234, which may start with 0) or the numeric id (e.g. 73). Both resolve the same account.

Request body

Example request

{
  "sipaccount": {
    "label": "Updated Label",
    "callerid": "9876543210",
    "didinfo_enabled": true,
    "call_restrict": true,
    "call_limit": 2000,
    "channels_restrict": true,
    "max_channels": 10
  }
}

Response

Successfully updates SIP account settings

Example response

{
  "sipaccount": {
    "id": 100,
    "name": "39342",
    "label": "Updated Label",
    "host": "dynamic",
    "didinfo_enabled": true,
    "call_restrict": true,
    "call_limit": 2000,
    "channels_restrict": true,
    "max_channels": 5,
    "max_call_cost": "0.0",
    "created_at": "2026-10-14 16:39:37 UTC",
    "charge": "0.0",
    "spend_limit": "10000.0",
    "available_amount": "10000.0"
  },
  "warnings": [
    {
      "resource": "caller_id",
      "identifier": "19999999999",
      "code": "not_an_owned_or_verified_caller_id",
      "message": "is not an owned or verified caller ID and was ignored"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.