---
title: "Delete marketing subscription"
method: DELETE
path: "/messenger/1/pages/{pageId}/subscriptions/{notificationMessagesToken}"
tags: ["channels", "messenger", "marketing-subscriptions-messenger"]
---

# Delete marketing subscription

`DELETE /messenger/1/pages/{pageId}/subscriptions/{notificationMessagesToken}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/messenger/1/pages/{pageId}/subscriptions/{notificationMessagesToken}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Unsubscribe a single notification messages token from the Page marketing messages audience.

## Path parameters

- `pageId` string, required
- `notificationMessagesToken` string, required

## Response `204`

Subscription deleted. Also returned when the notification messages token is already unsubscribed.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Page does not exist, or the notification messages token is not valid.
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
