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
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive