DLApp
There are no services matching that phrase.

/resourcepermission/remove-resource-permission

HTTP Method
POST
com.liferay.portal.service.ResourcePermissionServiceUtil#removeResourcePermission

Revokes permission at the scope from the role to perform the action on resources of the type. For example, this method could be used to revoke a group scope permission to edit blog posts.

Depending on the scope, the value of primKey will have different meanings. For more information, see {@link com.liferay.portal.model.impl.ResourcePermissionImpl}.

Parameters

p_auth String

authentication token used to validate the request

groupId long

the primary key of the group

companyId long

the primary key of the company

name java.lang.String

the resource's name, which can be either a class name or a portlet ID

scope int

the scope

primKey java.lang.String

the primary key

roleId long

the primary key of the role

actionId java.lang.String

the action ID

Return Type

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to remove resource permissions, or if a role with the primary key or a resource action with the name and action ID could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String long long java.lang.String int java.lang.String long java.lang.String