Skip to main content
DELETE
/
unsubscribes
/
{email}
JavaScript
import Moonbase from '@moonbaseai/sdk';

const client = new Moonbase({
  apiKey: process.env['MOONBASE_API_KEY'], // This is the default and can be omitted
});

await client.unsubscribes.delete('email');
{
  "type": "errors",
  "errors": [
    {
      "type": "error",
      "status": "400",
      "title": "Bad Request",
      "detail": "The request could not be understood due to malformed syntax or invalid parameters."
    }
  ]
}

Authorizations

Authorization
string
header
required

Your Moonbase API key.

Path Parameters

email
string
required

The email address of the unsubscribe to delete.

Response

Deletion succeeded.