Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unsubscribe through the REST API?

How do I unsubscribe someone from a workitem through the REST API? I imagine I need to pass it the itemId of both the workitem and the user, but I need the syntax. Or perhaps I can login (through the REST API, which I know how to do) and then pass it an "unsubscribe me" command, thus only needing the itemId of the workitem.

If someone can let me know the syntax, I will create a utility with a UI to make it happen. It will bring up a list of work items, check a bunch of them, then unsubscribe from the checked items. There is currently no feature in RTC for bulk unsubscribe, and it is sorely needed.


0 votes



2 answers

Permanent link
Well, I figured out how to get a list of subscribers for a specific work item:

https://SERVER:PORT/jazz/oslc/workitems/__mxaQCTEEeKyt8CTbweGrw/rtc_cm:subscribers

Now how do I turn that into a subscribe or unsubscribe command for "{currentUser}" ?

0 votes


Permanent link
 Have not venture into REST API for this yet, but found a way to unsubscribe in bulk: see Q 72836 (

Is there a way to unsubscribe to several items at once?)


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 479

Question asked: Jul 31 '13, 1:42 p.m.

Question was seen: 5,632 times

Last updated: Jan 25 '15, 6:08 p.m.

Confirmation Cancel Confirm