Removing Contact Groups

Description

When removing a Contact Group, calls to the API must be made via URL:

http://www.webtext.com/api/remove_contact_group.html

or, to use SSL:

https://www.webtext.com/api/remove_contact_group.html

Mandatory Parameters when adding a contact group.

api_id

This is your WebTEXT API id, unique to your WebTEXT account.  Issued on request by WebTEXT (support@webtext.com). Note that this is NOT your WebTEXT user name.

api_pwd

API password, as issued to you by WebTEXT.

group_alias

The alias for the group you wish to remove. This can be found on the Contacts page, and is returned by the API call, when the API is used to create the group.

Usage Example

This is a sample GET request, removing a group, with alias 888654321, from my list of Contact Groups. 

http://www.webtext.com/api/remove_contact_group.html?api_id=myid&api_pwd=mypwd&group_alias=888654321

A successful call to the API, to remove a Contact Group, will return the string: “000”. 

An unsuccessful call will return a 3-digit error code, which can be found in the table 'RETURN CODES', at the  end of this document.  For example, attempting to remove a group which cannot be found will return the error code 408