Delete a segment
Describes the request and response details of this Moosend API endpoint to delete a segment in a mailing list.
Request
Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| path | string | true | The ID of the email list that contains the segment. |
| path | string | true | The ID of the segment to be deleted. |
| path | string | true | The supported file format for getting a response. Possible values: |
| query | string | true | The API key of your account. |
Response
Status | Description | Headers | Schema |
|---|---|---|---|
| The request is successful. |
| N/A |
Code- the response code. This is0if successful.Error- the response error message. This isnullif successful.Context- the response context. This isnullif successful.