Forum Discussion
VikasB
7 years agoBoss
Yes, you can create a custom one using APIs. Here is the endpoint to get it done.
<#assign target_url = http.request.parameters.name.get("target_url","") /> <#assign board_id = http.request.parameters.name.get("board_id","") /> <#if target_url?contains('remove') > <#assign unsubscribe = restadmin("/boards/id/${board_id}/subscriptions/users/self/type/email/remove") /> <#else> <#assign subscribe = restadmin("/boards/id/${board_id}/subscriptions/users/self/add?subscription.type=email") /> </#if>
Related Content
- 3 years ago
- 6 months ago
- 23 days ago