MPZ API > Delete a Group

Use the API to delete an existing subscriber group.

Request

Submit an XML Request with the following details:
Post URL: https://mpzmail.com/api/v3.0/groups/deleteGroup/
Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
groupID Int REQUIRED The ID of the group to be deleted.

Response

Data Sent Back
error Int Indicated wether an error has occured. 0 for no error. 1 for error. 2 if recently sent to. If recently sent to the status will read "Can delete in xxx hours"
status String If there's been an error, a text description of the error that occured will be here.
groupID String The ID of the group deleted.

Sample request XML

<xml>
     <apiKey>44-121312131223</apiKey>
     <groupID>12412414</groupID>
</xml>

Sample response XML

<xml>
     <error>0</error>
     <status>Success</status>
     <groupID>1234</groupID>
</xml>

Comments