Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
firstline1
curl -X POST \
-H "Authorization: Token 3469bc9092c887da28b9704c79db0375e7168d8d" \
-H "Content-Type: application/json" \
-d '{"tenant" : "sbc.mydomain.com",
"client_account_code": "9287480680",
"cgrt_username": "farsana",
"main_email": "farsana@mydomain.com",
"account_type": "PREPAID",
"origination":"",
"termination":"",
"company_name": "New Company",
"address_line_1": "new address1",
"address_line_2": "new address2",
"city": "new city",
"state_province": "state test",
"postcode_zip": "54545",
"country": "UK",
"telephone_number": "96589856",
"max_per_minute_rate": 1.00,
"max_daily_spend": 25.00,
"enabled": true,
"tax_id":null,
"timezone": "America/New_York",
"billing_email": "test@test.com",
"noc_email": "",
"rates_email": "",
"currency": "USD",
"orig_credit_limit": null,
"orig_max_channels": 10,
"orig_max_cps": 5,
"low_balance_notification": null,
"account_blocked_alert": true,
"term_max_channels": 10,
"send_welcome_email": false
}' \
-k https://your.domain.com/api/v2users/client_update

Responses

Code Block
languagexml
firstline1
{Status: Status: 200 OK}

...