Notifications

Delete a notification schedule

Removes a notification schedule. Deleting one that has not run yet is how you cancel a scheduled send.

DELETE
https://api.portal.magicdoor.com/company-app/notifications/schedules/{notificationScheduleId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

notificationScheduleIdstringrequired

The schedule to delete.

example: 1831310445621149696

Response

200 · The schedule was deleted. The response has no body.

401 · The access token is missing, expired, or not valid.

404 · No notification schedule with that id belongs to your company.

This is also how you cancel a scheduled announcement: find the schedule whose announcementId points at it and delete that. Deleting a schedule that has already run removes the record only — it cannot unsend anything.