Updating a Number Group
Using the PUT method, you can update the settings for an existing Group.
PUT https://api.telmetrics.com/v3/api/groups/{groupid}
The following sample request can be used to create a Group:
curl -H "x-organization-token: {authorization_token}" \
-X PUT \
"https://api.telmetrics.com/v3/api/groups/11623258" \
-d '{
"name": "123 Company",
"time_zone_id": "Hawaii",
"rich_data_type": "Rich",
"dni_type": "None",
"billing_group_id": 4062,
"status": "active",
}'
If the request is handled successfully, the following response will be returned:
{
"id": 11623258,
"name": "123 Company",
"time_zone_id": "Hawaii",
"rich_data_type": "Rich",
"dni_type": "None",
"billing_group_id": 4062,
"tracking_javascript": "<script type=\"text/javascript\" src=\"#{dni-api-url}/sdk?identifier=5eb049ef-7d0d-49d2-a8f5-5eaaa8da1625\" async></script>",
"status": "active",
"created_datetime": "2018-04-06T16:03:01.947",
"modified_datetime": "2018-04-11T17:56:56.3363005Z"
}
Updated almost 5 years ago