DELETE - Delete Group

Deletes a Group and all associated users, settings, services and numbers.Returns the specificied Group's settings and information

Parameters

  • service_provider_id (str): Target Service Provider ID

  • group_id (str): Target Group ID

Returns

  • Dict: Returns the deleted Group's information, such as the ID, userCount, Domain and Timezone.

How To Use:

my_api.groups.delete_group{
     "serviceProviderId",
     "groupId"
}

Example Data Returned (Formatted)

{
  "defaultDomain": "domain.com",
  "userLimit": 25,
  "userCount": 8,
  "groupName": "grp.test",
  "callingLineIdName": "test solutions",
  "callingLineIdPhoneNumber": "+12345678900",
  "callingLineIdDisplayPhoneNumber": 2345678900,
  "timeZone": "America/New_York",
  "timeZoneDisplayName": "(GMT-05:00) (US) Eastern Time",
  "locationDialingCode": 234,
  "contact": {
    "contactName": "test name",
    "contactNumber": "513-123-1234",
    "contactEmail": "[email protected]"
  },
  "serviceProviderId": "ent.test",
  "groupId": "grp.test"
}

Last updated

Was this helpful?