Add share permissions to filter
Adds a share permissions to the given filter. Adding a global permission removes all previous permissions from the filter
/api/2/filter/{id}/permissionAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
idstringrequiredThe filter id.
application/jsoneditbooleangroupnamestringprojectIdstringprojectRoleIdstringtypestringuserKeystringviewbooleanReturns share permissions associated with the given filter
editbooleangroupGroupJsonBeanShow propertiesHide properties
namestringselfstring<uri>idinteger<int64>projectProjectBeanShow propertiesHide properties
archivedbooleanavatarUrlsobjectdescriptionstringidstringkeystringnamestringselfstring<uri>roleProjectRoleBeanShow propertiesHide properties
actorsRoleActorBean[]Show propertiesHide properties
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>typestringuserUserBeanShow propertiesHide properties
activebooleanapplicationRolesSimpleListWrapperApplicationRoleBeanShow propertiesHide properties
callbackListWrapperCallbackApplicationRoleBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackApplicationRoleBeansizeinteger<int32>avatarUrlsobjectdeletedbooleandisplayNamestringemailAddressstringexpandstringgroupsSimpleListWrapperGroupJsonBeanShow propertiesHide properties
callbackListWrapperCallbackGroupJsonBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackGroupJsonBeansizeinteger<int32>keystringlastLoginTimestringlocalestringnamestringselfstring<uri>timeZonestringviewbooleanReturned given permission input bean is invalid or when user does not have the permission to share filters or when the user cannot edit the given filter.
Returned if user is not logged in.
Returned when filter with given id does not exist or when the user does not have permissions to view the filter.