Delete a subscriber from an account
Describes the request and response details of this Moosend API endpoint to delete a subscriber from the entire account.
Request
Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| header | string | true | Determines the expected format and data type to retrieve the response data. Value: |
| path | string | true | The supported file format for getting a response. Possible values: |
| query | string | true | The API key of your account. |
| body | string | true | The email address of the subscriber. |
| body | boolean | false | Determines whether to delete the subscriber from all subaccounts. |
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.VALIDATION-ERROR- input validation error occurred.MEMBER-NOT-FOUND- a specified email address was not found in the email list.MEMBER-DELETION-FAILED- failed to delete one or more members.
Context- this isnullif successful.