Skip to content

getSavedSearchShareDetails

GET
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/searches/{searchId}/shareWith
Get share details of a saved search

Retrieve the list of groups that the saved search is shared with by searchId. The adminAdvanced privilege is required.

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
searchIdstring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

The list of groups

groupIds
400Bad Request

Error

WorkflowExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET /{orgId}/{itemId}/searches/{searchId}/shareWith \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "groupIds": [
    "string"
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.