Deactivating a Group

Using the DELETE method, you can deactivate an existing Group. Please note that this action will result in the immediate cancellation of all numbers associated with the Group.

DELETE https://edgeapi.marchex.io/marketingedge/v5/api/groups/{group_id}

The following sample request can be used to close a Groups:

curl -H "x-organization-token: {authorization_token}" \
      -H "subscription-key: {subscription_key}" \
     	-X DELETE \
     	"https://edgeapi.marchex.io/marketingedge/v5/api/groups/11623279"

If the request is handled successfully, the following response will be returned:

200 OK