public Map < String , Map < String , List < String > > > revokeResourcePermission ( String subjectid , String resourcePath ) { if ( StringUtils . isBlank ( subjectid ) || StringUtils . isBlank ( resourcePath ) ) { return Collections . emptyMap ( ) ; } resourcePath = Utils . urlEncode ( resourcePath ) ; return getEntity ( invokeDelete ( Utils . formatMessage ( "_permissions/{0}/{1}" , subjectid , resourcePath ) , null ) , Map . class ) ; }
Revokes a permission for a subject meaning they no longer will be able to access the given resource .