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
Welcome!
Welcome!
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
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 778 Automate
- 190 Apps
- 482 APIs & Domo Developer
- 83 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 412 Distribute
- 120 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 145 Manage
- 141 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive