SIP User
Update
Changed onUpdate an existing SIP User record by ID.
put/api/cp/switch/user/{id}
Request
- Base URLhttps://app.connexcs.com
- Auth
- OAuth 2Authorization code: https://auth.connexcs.com/authorizeToken URL: https://auth.connexcs.com/token
- or HTTP bearer
Path parameters
idinteger required
Id identifier
Request body
Example request
{
"id": 12345,
"company_id": 1,
"username": "john_doe",
"password": "********",
"bandwidth": 123,
"channels": 123,
"cps": 123,
"protocol": "example_protocol",
"codec": "example_codec",
"dial_pattern": "example_dial_pattern",
"prefix": "example_prefix",
"cli_prefix": "example_cli_prefix",
"strip": 123,
"status": "Active",
"rewrite": "example_rewrite",
"voicemail": 1,
"voicemail_password": "example_voicemail_password",
"ip_whitelist": "example_ip_whitelist",
"email": "user@example.com",
"sip_ping": 1,
"smart": 1,
"retain_did": 1,
"sip_profile_id": 1,
"address_number": "example_address_number",
"street_name": "example_street_name",
"city": "example_city",
"state": "example_state",
"post_code": "example_post_code"
}Response
Operation completed successfully
Example response
{
"status": "OK"
}Changes
- info
the endpoint scheme security
oAuth2was added to the API - info
the endpoint scheme security
opaqueTokenwas added to the API - info
the endpoint scheme security
basicAuthwas removed from the API
- info