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,365,366
Community Members
 
Community Events
168
Community Groups

Update a subscriber's component with API

According to the API Documentation, there seems to be no way to update a subscriber's component subscription but to unsubscribe them and then recreate them.

The previous API allowed that through a PATCH endpoint that's not there anymore. 

Am I missing something?

2 answers

1 accepted

0 votes
Answer accepted
Dave Parrish Atlassian Team Oct 28, 2020

Update:

There's a new, authenticated endpoint to use for updating subscribed components. It's documented here:

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

The endpoint referenced in Jake's earlier answer has been deprecated (see our post about abuse mitigation for details).

0 votes

Hi Émile, there is an endpoint in the Status API which you can use to update the components a subscriber is subscribed to. 

Head over to your status page URL and append '/api' to it, then navigate to the "Subscribers" section and find "Tuning subscription components". 

Example: https://acmeapico.statuspage.io/api#subscribers

 

To tune an existing subscription to add or remove components, submit a PATCH request with the subscriber id and a new list of components.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events