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

Update a subscriber's component with API

Émile Beaudry
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2019

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_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
Jake Bartlett
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2019

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
AUG Leaders

Atlassian Community Events