Scheduled Reports

Scheduled Reports

How do I remove another user from an alert?

My boss wants to be removed from their alerts. How do i do that for them.

Tagged:

Best Answer

  • Coach
    edited April 17 Answer ✓

    Do you have permissions to edit alerts? Should be as easy as navigating to the card, either on the card/DataSet or Alerts in the top nav bar, then clicking share on the bottom of the alert, then expanding the already shared with section, then clicking the x on the far right on their name.

    If you are talking automation, you can use the Product APIs for that. Authentication documentation: developer.domo.com/portal/8ba9aedad3679-ap-is#product-apis.

    POST https://<instance>.domo.com/api/search/v1/query

    Body:

    1. {
    2. "count": 1000,
    3. "offset": 0,
    4. "combineResults": false,
    5. "query": "*",
    6. "filters": [
    7. {
    8. "name": "OWNED_BY_ID",
    9. "field": "owned_by_id",
    10. "facetType": "user",
    11. "value": "<user_id>:USER",
    12. "filterType": "term",
    13. "displayValue": "<user_name>",
    14. "translatedDisplayValue": "Owned by: <user_name>",
    15. "translatedPlaceHolderText": "Search people"
    16. }
    17. ],
    18. "sort": {
    19. "isRelevance": true
    20. },
    21. "facetValuesToInclude": [
    22. "TYPE"
    23. ],
    24. "facetValueLimit": 0,
    25. "facetValueOffset": 0,
    26. "includePhonetic": true,
    27. "queryProfile": "GLOBAL",
    28. "state": "list",
    29. "topic": null,
    30. "savedSearchId": null,
    31. "entityList": [
    32. [
    33. "alert"
    34. ]
    35. ]
    36. }
    37.  

    Then loop through those results:
    DELETE https://<instance>.domo.com/api/social/v4/alerts/<alert_id>/subscriptions?subscriberId=<user_id>&type=USER

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

Answers

  • Coach
    edited April 17 Answer ✓

    Do you have permissions to edit alerts? Should be as easy as navigating to the card, either on the card/DataSet or Alerts in the top nav bar, then clicking share on the bottom of the alert, then expanding the already shared with section, then clicking the x on the far right on their name.

    If you are talking automation, you can use the Product APIs for that. Authentication documentation: developer.domo.com/portal/8ba9aedad3679-ap-is#product-apis.

    POST https://<instance>.domo.com/api/search/v1/query

    Body:

    1. {
    2. "count": 1000,
    3. "offset": 0,
    4. "combineResults": false,
    5. "query": "*",
    6. "filters": [
    7. {
    8. "name": "OWNED_BY_ID",
    9. "field": "owned_by_id",
    10. "facetType": "user",
    11. "value": "<user_id>:USER",
    12. "filterType": "term",
    13. "displayValue": "<user_name>",
    14. "translatedDisplayValue": "Owned by: <user_name>",
    15. "translatedPlaceHolderText": "Search people"
    16. }
    17. ],
    18. "sort": {
    19. "isRelevance": true
    20. },
    21. "facetValuesToInclude": [
    22. "TYPE"
    23. ],
    24. "facetValueLimit": 0,
    25. "facetValueOffset": 0,
    26. "includePhonetic": true,
    27. "queryProfile": "GLOBAL",
    28. "state": "list",
    29. "topic": null,
    30. "savedSearchId": null,
    31. "entityList": [
    32. [
    33. "alert"
    34. ]
    35. ]
    36. }
    37.  

    Then loop through those results:
    DELETE https://<instance>.domo.com/api/social/v4/alerts/<alert_id>/subscriptions?subscriberId=<user_id>&type=USER

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

  • Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In