Members
Unsubscribe a member
Unsubscribe a member based on their key. The field isNewUnsubscription indicates whether the unsubscription was new or the member was already unsubscribed.
post/members/unsubscribed/{email}
Request
- Base URLhttps://api.cyberimpact.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
keystring required
Can be either the member's email address or their numerical ID
Response
The unsubscribed member's details including whether this was a new unsubscription
Example response
{
"firstname": "John",
"lastname": "Doe",
"company": "John Doe Company inc",
"email": "john.doe@example.org",
"gender": "m",
"language": "en_ca",
"joinedOn": "2015-10-05 11:09:04.710",
"updatedOn": "2016-12-10 12:41:42.020",
"consentType": "implied",
"postalCode": "A0A 0A0",
"country": "CA",
"note": "He's awesome",
"unsubscribedOn": "2015-10-05 11:09:04.710",
"customFields": {
"1": "this is a test !",
"2": 6544,
"3": 1.5,
"4": "2000-01-01"
},
"isNewUnsubscription": true
}Changes
No recorded changes to this operation across all 1 revision of this API.