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
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive