Removing a Group Owner

Removing a Group Owner

Using the DELETE method, you can remove a Group Owner. Please note that this action may only be performed if the Group Owner is not associated with a Group.

DELETE https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/{groupownerid}

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

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

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

200 OK

Removing a Group Owner from a Group

Occasionally you may want to remove a Group Owner from a Group.

DELETE https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/[id]/groups/[group_id]

The following sample request can be used to remove a Group Owner from a Group:

curl -H "x-organization-token: {authorization_token}" \
     -X DELETE \
     "https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/191617/groups/97261"

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

200 OK