DLApp
There are no services matching that phrase.

/user/delete-portrait

HTTP Method
POST
com.liferay.portal.service.UserServiceUtil#deletePortrait

Deletes the user's portrait image.

Parameters

p_auth String

authentication token used to validate the request

userId long

the primary key of the user

Return Type

void

Exception

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found, if the user's portrait could not be found, or if the current user did not have permission to update the user
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred