How do I remove another user from an alert?

Best 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:
{
"count": 1000,
"offset": 0,
"combineResults": false,
"query": "*",
"filters": [
{
"name": "OWNED_BY_ID",
"field": "owned_by_id",
"facetType": "user",
"value": "<user_id>:USER",
"filterType": "term", "displayValue": "<user_name>",
"translatedDisplayValue": "Owned by: <user_name>",
"translatedPlaceHolderText": "Search people"
}
],
"sort": {
"isRelevance": true
},
"facetValuesToInclude": [
"TYPE"
],
"facetValueLimit": 0,
"facetValueOffset": 0,
"includePhonetic": true,
"queryProfile": "GLOBAL",
"state": "list",
"topic": null,
"savedSearchId": null,
"entityList": [
[
"alert"
]
]
}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!0
Answers
-
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:
{
"count": 1000,
"offset": 0,
"combineResults": false,
"query": "*",
"filters": [
{
"name": "OWNED_BY_ID",
"field": "owned_by_id",
"facetType": "user",
"value": "<user_id>:USER",
"filterType": "term", "displayValue": "<user_name>",
"translatedDisplayValue": "Owned by: <user_name>",
"translatedPlaceHolderText": "Search people"
}
],
"sort": {
"isRelevance": true
},
"facetValuesToInclude": [
"TYPE"
],
"facetValueLimit": 0,
"facetValueOffset": 0,
"includePhonetic": true,
"queryProfile": "GLOBAL",
"state": "list",
"topic": null,
"savedSearchId": null,
"entityList": [
[
"alert"
]
]
}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!0 -
Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive