braze-api
Version:
Track users, send messages, export data, and more with Braze API.
20 lines • 689 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.remove = remove;
const request_1 = require("../../common/request");
/**
* Remove email addresses from spam list.
*
* Use this endpoint to remove email addresses from your Braze spam list.
*
* {@link https://www.braze.com/docs/api/endpoints/email/post_remove_spam/}
*
* @param apiUrl - Braze REST endpoint.
* @param apiKey - Braze API key.
* @param body - Request parameters.
* @returns - Braze response.
*/
function remove(apiUrl, apiKey, body) {
return (0, request_1.post)(`${apiUrl}/email/spam/remove`, body, (0, request_1.buildOptions)({ apiKey }));
}
//# sourceMappingURL=remove.js.map