Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,322
Community Members
 
Community Events
176
Community Groups

Manage subscriptions for StatusPage via API

I'm currently implementing a StatusPage API integration for clients, I've managed to get all of the logic to create, manage, page users, groups etc - the issue I have is being able to unsubscribe via the API. I notice the docs show it as a curl that then deletes the subscriber, this seems like an oversight for case where the user simply wants to unsub from a single component?

Anyone figured it out?

1 answer

Hey @Jack , I'm a product manager on Statuspage. It sounds like you want to use the REST API to update an existing subscriber to remove one of their subscribed components. You can do this by updating the subscriber via PATCH, as described here:

https://developer.statuspage.io/#operation/patchPagesPageIdSubscribersSubscriberId

The body of your request should contain an array of the components that should remain subscribed. So simply omit the undesired component from this list.

Hope this helps!

Fairly sure if I use patch it doesn't remove items from the list, the other concern I have is if I remove a single item from a sub list as a patch it then subs to all available components

I'll check this tomorrow though, it's 20 past 11 at night here 😂

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events