---
title: "Creating an Unsubscription"
description: "Create an unsubscription"
canonical: "https://docs.cm.com/mobile-marketing-cloud/email-campaigns/unsubscriptions/creating-unsubscription"
---

# Creating an Unsubscription

> Create an unsubscription

Source: https://docs.cm.com/mobile-marketing-cloud/email-campaigns/unsubscriptions/creating-unsubscription

# Creating an unsubscription

Create an unsubscription

```http
POST https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/unsubscriptions
```

## POST Parameters

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>In</th>
      <th>Description</th>
      <th>Required</th>
      <th>Type</th>
      <th>Example</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>AccountID</td>
      <td>Path</td>
      <td>The account guid</td>
      <td>True</td>
      <td>Guid</td>
      <td>A8C062E4-ECFD-48D0-89B1-A37D2622B7A9</td>
    </tr>

    <tr>
      <td>Body</td>
      <td>Body</td>
      <td>The from address to create</td>
      <td>True</td>
      <td>Json object</td>
      <td>See example request</td>
    </tr>

    <tr>
      <td>X-CM-PRODUCTTOKEN</td>
      <td>Header</td>
      <td>Your product token</td>
      <td>True</td>
      <td>Guid</td>
      <td>C24A5029-37DD-4161-9728-F80D8639588E</td>
    </tr>
  </tbody>
</table>

```json
{
	"EmailAddress": "john.doe@cm.com"
}
```

## Responses

<table>
  <thead>
    <tr>
      <th>Http status</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>201</td>
      <td>Unsubscription created</td>
    </tr>

    <tr>
      <td>400</td>
      <td>Bad request</td>
    </tr>
  </tbody>
</table>

```json title="Example response"
{
	"ID": "db550a9c-f47c-49ff-98b3-eac43325bbb9",
	"AccountID": "a65b6ba1-7b13-4cff-aaf6-c736c977c1d4",
	"EmailAddress": "john.doe@cm.com",
	"UnsubscriptionType": 1,
	"CreatedOn": "2017-08-09T13:25:14.198",
	"CreatedOnUtc": "2017-08-09T12:25:14.198Z",
	"ModifiedOn": "2017-08-09T13:25:14.198",
	"ModifiedOnUtc": "2017-08-09T12:25:14.198Z"
}
```
