GET
/{orgId}/{itemId}/searches/{searchId}/shareWith
Retrieve the list of groups that the saved search is shared with by searchId. The adminAdvanced privilege is required.
Query parameters
Name | Type | Required |
---|---|---|
token | string¦null |
Path parameters
Name | Type | Required |
---|---|---|
search | string | |
org | string | |
item | string |
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | The list of groups | groupIds |
400 | Bad Request | Error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/searches/{searchId}/shareWith \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"groupIds": [
"string"
]
}