Share a saved search
Update the list of groups a saved search is shared with by specifying the updated list in the json body. The adminAdvanced privilege is required.
Share Saved Search Parameters:
Parameter | Description | Data Type |
---|---|---|
groupIds | Required. Defines the Group Ids that the saved search will be shared with. | Array[String] |
Body parameter
{
"groupIds": [
"string"
]
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X POST /{orgId}/{itemId}/searches/{searchId}/shareWith \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| Error |