Segments
DELETE a Segment
Changed onUse this method to delete a segment from your account. Before deleting a segment, verify that the segment is not associated with a scheduled campaign.
Deleted segments do not display in the results when using the GET /segments endpoint. If you know the segment_id, you can use the GET /segments/{segment_id} endpoint to view the deleted segment's details. A segment's details are preserved for external reference purposes, such as displaying the segment name in a campaign's history. For more use case information, see Delete a Segment in the API guide.
delete/segments/{segment_id}
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/segments/{segment_id}
- Auth
- OAuth 2Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorizeScopes: contact_data
- or OAuth 2Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorizeToken URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: contact_data
Path parameters
segment_idinteger required
The system generated ID that uniquely identifies the segment.
Response
The segment was successfully deleted.
Changes
- info
the endpoint scheme security
api_keywas removed from the API
- info
- info
endpoint added
- info