Delete a Segment

 Home /Knowledgebase / SEMSblast API /Delete a Segment

Use the API to delete an existing segment.
 

Request

Submit an XML Request with the following details:

Post URL: http://cp.semsblast.com/api/v3.0/groups/deleteSegment/

 

Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
groupID Int REQUIRED The ID of the group the segment resides in.
segmentID Int REQUIRED The ID of the segment.

 

Response

Data Sent Back
error Int Indicated wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.
segmentID String The ID of the segment deleted.

 

Sample request XML

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

 

Sample response XML

<xml>
     <error>0</error>
     <status>Success</status>
     <segmentID>4123123</segmentID>
</xml>





Copyright © 2015 SEMSblast.com | Smarter eMail Marketing Solution. All rights reserved.Terms of Service | Privacy Policy