Add a share permissions to a filter. If you add a global share permission (one for all logged-in users or the public) it will overwrite all share permissions for the filter.Be aware that this operation uses different objects for updating share permissions compared to Update filter.Permissions required:Share dashboards and filtersglobal permission and the user must own the filter.
请求参数
Path 参数
Body 参数application/json
示例
返回响应
🟢201Returned if the request is successful.
application/json
Body
🟠400Returned if:
* the request object is invalid. For example, it contains an invalid type, the ID does not match the type, or the project or group is not found.
* the user does not own the filter.
* the user does not have the required permissions.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠404Returned if:
* the filter is not found.
* the user does not have permission to view the filter.