DLApp
Il n'y a aucun service assortissant cette expression.

/role/delete-role

Méthode de HTTP
POST
com.liferay.portal.service.RoleServiceUtil#deleteRole

Deletes the role with the primary key and its associated permissions.

Paramètres

p_auth String

authentication token used to validate the request

roleId long

the primary key of the role

Type de retour

void

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to delete the role, if a role with the primary key could not be found, if the role is a default system role, or if the role's resource could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred