agave-apps/clients/ProfileService.java
/**
	 * Deletes an internal user. Note that all user AuthCredentials on individual
	 * systems will be deleted and any jobs or data transfers currently underway
	 * will more than likely fail.
	 * 
	 * @param user InternalUser
	 * @return
	 * @throws AuthenticationException
	 * @throws ProfileException
	 */
Deletes an internal user. Note that all user AuthCredentials on individual
systems will be deleted and any jobs or data transfers currently underway
will more than likely fail.


Deletes an internal user . Note that all user AuthCredentials on individual systems will be deleted and any jobs or data transfers currently underway will more than likely fail .
public void deleteInternalUser(String internalUsername) 
	throws AuthenticationException, ProfileException
	{
		if (StringUtils.isEmpty(internalUsername)) {
			throw new ProfileException("No internal username provided.");
		} 
		APIResponse response = null;
		try 
		{
			String endpoint = Settings.SERVICE_BASE_URL + "profile-v1/internal/" + internalUsername;
			response = delete( endpoint, token );
		} 
		catch (APIClientException e) {
			throw new ProfileException("Error querying service.", e);
		}
		if (!response.isSuccess()) {
			throw new ProfileException(response.getMessage());
		}
	}
public void deleteInternalUser ( String internalUsername ) throws AuthenticationException , ProfileException { if ( StringUtils . isEmpty ( internalUsername ) ) { throw new ProfileException ( "No internal username provided." ) ; } APIResponse response = null ; try { String endpoint = Settings . SERVICE_BASE_URL + "profile-v1/internal/" + internalUsername ; response = delete ( endpoint , token ) ; } catch ( APIClientException e ) { throw new ProfileException ( "Error querying service." , e ) ; } if ( ! response . isSuccess ( ) ) { throw new ProfileException ( response . getMessage ( ) ) ; } }
Deletes an internal user.
Deletes an internal user .