Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EES-4929 Adding endpoint to unsubscribe users from API data sets #5076

Merged
merged 4 commits into from
Jul 22, 2024

Conversation

jack-hive
Copy link
Collaborator

This PR adds an endpoint to the Notifier project to allow users to unsubscribe from API data sets.

The status codes that the endpoint returns are:

  • 204 the subscription was successfully deleted in the database (hence, the user is now unsubscribed)
  • 400 either the token supplied is invalid, or the subscription has not yet been verified (you can't unsubscribe to something you were never subscribed to!)
  • 404 the subscription does not exist (applies to both pending and verified subscriptions)

Base automatically changed from EES-5335 to dev July 19, 2024 11:49
@benoutram benoutram self-requested a review July 22, 2024 14:00
@benoutram benoutram merged commit 8afe8bd into dev Jul 22, 2024
7 checks passed
@benoutram benoutram deleted the EES-4929 branch July 22, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants