> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/push/campaigns/stop.md).

# Stop a campaign

Stop a push campaign that is scheduled or still sending, so no new notifications go out.

**Where:** Push → Campaigns → **View** → **Stop campaign** · `/projects/<project>/push/campaigns/<id>/view`

## Before you start

* The campaign is **Scheduled**, **Registered**, **Started** or **Processing**. Only then does its details page show **Stop campaign**.
* Stopping is final: a stopped campaign cannot be resumed.

## Steps

1. Open **Push → Campaigns** and press **View** on the campaign — here the scheduled `Appointment reminder`.
2. Press the red **Stop campaign** at the top right.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-bce624821d2479671201948e15b6e2c499c5fa1e%2Fcampaigns-stop-1.png?alt=media" alt="Push Campaign of a Scheduled campaign with the red Stop campaign button next to Actions"><figcaption><p>A scheduled campaign with the Stop campaign button.</p></figcaption></figure>
3. The browser asks: *Stop this campaign? Batches already being sent will finish, but no new recipients will be notified. This cannot be undone.* Press **OK**. While the request runs, the button says **Stopping…**.

## Result

The status badge turns **Stopped**, the **Stop campaign** button disappears, and the campaigns list shows **Stopped** too. A scheduled campaign is never sent; a running one finishes the batches already handed to the provider and starts no new batch.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-27cd3adb76b17cbd46fb3f502cbb3bb449499a9e%2Fcampaigns-stop-2.png?alt=media" alt="Push Campaign after the stop: Stopped badge, no Stop campaign button, only Actions"><figcaption><p>The campaign is stopped.</p></figcaption></figure>

## Change or remove it later

* **Send it again** — **Actions → Create new from this** opens a new campaign with the same template; pick the audience and tokens again.
* **Delete** — **Actions → Delete campaign...** (see [Campaign details](/codemash/cloud/push/campaigns/details.md#change-or-remove-it-later)).
* Turning the Push module off in [Settings](/codemash/cloud/push/settings.md) stops every scheduled or running campaign the same way.

## Do it from code

```ts
await norbix.hub.notifications.stopPushCampaign({ id: 'cmp_3c8RmBVjkHtw5aTVPUU0Zr' });
// a second stop answers: The campaign has already ended (Stopped) and cannot be stopped
```

```sh
norbix hub notifications push campaign stop --id cmp_3T4ttmIA0D1XsrAupua5eO --yes
```

The shorter `norbix push stop <id> --yes` does the same. The client setup is on the [Push page](/codemash/cloud/push.md#use-it-from-code). API: [Stop Push Campaign](/codemash/api-reference/notifications/push/stop-push-campaign.md)
