tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/AzureServicePrincipalAccountsController.java
@ApiOperation(value = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.value}", notes = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.notes}" ,hidden = false)
	@DeleteMapping(value = "/v2/azureserviceaccounts/role", produces = "application/json")
	public ResponseEntity<String> removeAwsRoleToAzureSvcacc(HttpServletRequest request,
			@RequestHeader(value = "vault-token") String token,
			@Valid @RequestBody AzureServiceAccountAWSRole azureServiceAccountAWSRole) {
		UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
		return azureServicePrincipalAccountsService.removeAwsRoleFromAzureSvcacc(userDetails, token, azureServiceAccountAWSRole);
	}
/**
	 * Remove AWS role from Azure Service Account
	 * 
	 * @param token
	 * @param azureServiceAccountAWSRole
	 * @return
	 */
Remove AWS role from Azure Service Account

@param token
@param azureServiceAccountAWSRole
@return
Remove AWS role from Azure Service Account @param token @param azureServiceAccountAWSRole @return
@ApiOperation(value = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.value}", notes = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.notes}" ,hidden = false)
	@DeleteMapping(value = "/v2/azureserviceaccounts/role", produces = "application/json")
	public ResponseEntity<String> removeAwsRoleToAzureSvcacc(HttpServletRequest request,
			@RequestHeader(value = "vault-token") String token,
			@Valid @RequestBody AzureServiceAccountAWSRole azureServiceAccountAWSRole) {
		UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
		return azureServicePrincipalAccountsService.removeAwsRoleFromAzureSvcacc(userDetails, token, azureServiceAccountAWSRole);
	}
@ ApiOperation ( value = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.value}" , notes = "${AzureServicePrincipalAccountsController.removeAwsRoleToAzureSvcacc.notes}" , hidden = false ) @ DeleteMapping ( value = "/v2/azureserviceaccounts/role" , produces = "application/json" ) public ResponseEntity < String > removeAwsRoleToAzureSvcacc ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ Valid @ RequestBody AzureServiceAccountAWSRole azureServiceAccountAWSRole ) { UserDetails userDetails = ( UserDetails ) request . getAttribute ( USER_DETAILS_STRING ) ; return azureServicePrincipalAccountsService . removeAwsRoleFromAzureSvcacc ( userDetails , token , azureServiceAccountAWSRole ) ; }
Remove AWS role from Azure Service Account
Remove AWS role from Azure Service Account