DELETE example/api/publication/{publicationId}/optouts?email={email}
https://app.bwz.se/bedrock/example/api/publication/{publicationId}/optouts?email={email}
Deletes a publication optout.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
publicationId | integer |
Required |
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Nothing
Collection of MailPublicationOptOutModelName | Description | Type | Additional information |
---|---|---|---|
Gets or sets the email address of the MailPublicationOptOut. |
string |
None. |
|
Id |
Gets or sets the id of the MailPublicationOptOut. |
integer |
None. |
OptOutDate |
Gets or sets the opt out date of the MailPublicationOptOut. |
date |
None. |
PublicationId |
Gets or sets the publication id of the MailPublicationOptOut. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Email": "sample string 1", "Id": 2, "OptOutDate": "2024-11-21T17:59:32.9208128+01:00", "PublicationId": 4 }, { "Email": "sample string 1", "Id": 2, "OptOutDate": "2024-11-21T17:59:32.9208128+01:00", "PublicationId": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfMailPublicationOptOutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailPublicationOptOut"> <MailPublicationOptOutModel> <Email>sample string 1</Email> <Id>2</Id> <OptOutDate>2024-11-21T17:59:32.9208128+01:00</OptOutDate> <PublicationId>4</PublicationId> </MailPublicationOptOutModel> <MailPublicationOptOutModel> <Email>sample string 1</Email> <Id>2</Id> <OptOutDate>2024-11-21T17:59:32.9208128+01:00</OptOutDate> <PublicationId>4</PublicationId> </MailPublicationOptOutModel> </ArrayOfMailPublicationOptOutModel>